Interface: TextStyle
Properties
background
• Optional background: string
background color: empty for transparent #f00, yellow...
borderRadius
• Optional borderRadius: number
Text box border radius
color
• Optional color: string
text color: #f00, yellow...
font
• Optional font: string
Helvetica, sans-serif...
fontSize
• Optional fontSize: string | number
Font size, in pixels
padding
• Optional padding: number
padding around the text
strokeColor
• Optional strokeColor: string
strokeType
• Optional strokeType: "none" | "plain" | "dashed"
strokeWidth
• Optional strokeWidth: number