TextOption

Represents text rendering options.

Props

The following table outlines the props for the TextOption:

NameTypeDefaultDescription
anchor
string
-

Text anchor position (start, middle, end).

id
string
-

Unique identifier for the text element.

text
string
-

The text content to be displayed.

x
number
-

X-coordinate for text positioning.

y
number
-

Y-coordinate for text positioning.