TextStyleOptions
Constructor
constructor
constructor(options: object): TextStyleOptions
Parameters:
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| options | object | No | - | |
| options.backgroundColor | ?string | No | null | Hex string color, i.e. '#ffffff'. If null the background is transparent. |
| options.backgroundOpacity | number | No | 0.7 | |
| options.backgroundRadius | number | No | 5 | |
| options.color | string | No | '#000000' | Hex string color |
| options.font | string | No | 'Arial' | An HTML font to use |
| options.lineHeight | number | No | 1.25 | The used value is this unitless number multiplied by the font size |
| options.size | number | No | 5 | Font size |
