Properties
Optional angle
angle: number
Optional backgroundColor
background
Color: string | Color | number[]
Optional borderLineColor
border
LineColor: string | Color | number[]
Optional borderLineSize
borderLineSize: number
Optional color
color
: string | Color | number[]
Optional font
Optional haloColor
halo
Color: string | Color | number[]
Optional haloSize
haloSize: string | number
Optional horizontalAlignment
horizontalAlignment: "center" | "left" | "right" | "justify"
Optional kerning
kerning: boolean
Optional lineHeight
lineHeight: number
Optional lineWidth
lineWidth: string | number
Optional rotated
rotated: boolean
Optional text
text: string
Optional verticalAlignment
verticalAlignment: "top" | "bottom" | "baseline" | "middle"
Optional xoffset
xoffset: string | number
Optional yoffset
yoffset: string | number
The angle of the text.
Read more...