import type { TextShadow } from 'pixi-silk/text';
A soft copy of the glyphs under them: a drop shadow with an offset, a glow without one.
Properties#
| Property | Type | Description | Defined in |
|---|
alpha? | number | Shadow opacity, 0 to 1. Default 1. | text/SilkText.ts:50 |
blur? | number | Softness in local units. Reaches up to about a quarter of the font size with the default atlas. Default 4. | text/SilkText.ts:52 |
color? | ColorSource | Shadow colour. Default black. | text/SilkText.ts:48 |
offsetX? | number | Horizontal offset in local units. Default 0. | text/SilkText.ts:54 |
offsetY? | number | Vertical offset in local units. Default 0. | text/SilkText.ts:56 |