A Text Shadow configuration object as used by the Text Style.
name | type | arguments | Default | description |
---|---|---|---|---|
offsetX | number | <optional> | 0 |
The horizontal offset of the shadow. |
offsetY | number | <optional> | 0 |
The vertical offset of the shadow. |
color | string | <optional> | '#000' |
The color of the shadow, given as a CSS string value. |
blur | number | <optional> | 0 |
The amount of blur applied to the shadow. Leave as zero for a hard shadow. |
stroke | boolean | <optional> | false |
Apply the shadow to the stroke effect on the Text object? |
fill | boolean | <optional> | false |
Apply the shadow to the fill effect on the Text object? |