Interface: TextStyle
Properties
background
• Optional
background: string
background color: empty for transparent #f00, yellow...
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