Skip to content
On this page

Text

PropertyTypeDefault
nameStrV"defaultText"
styleStrV""
strokeWidthFloatV0
strokeStyleStrV"solid"
strokeColorColorVNONE
strokeDasharrayStrV""
widthFloatV0
heightFloatV0
ascentFloatV0
descentFloatV0
rotationFloatV0
stringStrV"defaultText"
visibilityStrV""
fontFamilyStrV"sans-serif"
fontSizeStrV"12px"
fontSizeAdjustStrV""
fontStretchStrV""
fontStyleStrV""
fontVariantStrV""
fontWeightStrV""
lineHeightStrV""
textAnchorStrV"middle"
alignmentBaselineStrV"alphabetic"
dominantBaselineStrV"alphabetic"
ensureOnCanvasBoolVtrue
fillColorColorVsampled
centerVectorVsampled