new Text(
text):Text
string = ‘’'`
Added text.
Text
origin:
Point2d
Position of the drawing text on the 2d plane.
properties:
TextProperties
Properties of the drawing text.
text:
string= ‘’'`
Added text.
get fontSize():
number
Returns size of the font in points.
Use properties.fontSize instead.
number
set fontSize(
fontSize):void
Sets size of the font in points.
Use properties.fontSize instead.
number
Size of the font in points.
void
get id():
bigint
Returns object id.
bigint
get uuid():
`${string}-${string}-${string}-${string}-${string}`|null
Returns uuid of the drawing element. null if the drawing element has no assigned uuid (by default).
`${string}-${string}-${string}-${string}-${string}` | null
set uuid(
uuid):void
Sets uuid of the drawing element.
Uuid of the drawing element.
`${string}-${string}-${string}-${string}-${string}` | null
void
accept(
visitor):void
Accepts a drawing element visitor.
Accepted drawing element visitor.
void