Text
Property | Type | Default |
---|---|---|
name | StrV | "defaultText" |
style | StrV | "" |
strokeWidth | FloatV | 0 |
strokeStyle | StrV | "solid" |
strokeColor | ColorV | NONE |
strokeDasharray | StrV | "" |
width | FloatV | 0 |
height | FloatV | 0 |
ascent | FloatV | 0 |
descent | FloatV | 0 |
rotation | FloatV | 0 |
string | StrV | "defaultText" |
visibility | StrV | "" |
fontFamily | StrV | "sans-serif" |
fontSize | StrV | "12px" |
fontSizeAdjust | StrV | "" |
fontStretch | StrV | "" |
fontStyle | StrV | "" |
fontVariant | StrV | "" |
fontWeight | StrV | "" |
lineHeight | StrV | "" |
textAnchor | StrV | "middle" |
alignmentBaseline | StrV | "alphabetic" |
dominantBaseline | StrV | "alphabetic" |
ensureOnCanvas | BoolV | true |
fillColor | ColorV | sampled |
center | VectorV | sampled |