Interface: TextOutline
Experimental
Glyph outline / halo / shadow (troika's outline pass: one extra draw call when any is set).
Properties
| Property | Type | Description |
|---|---|---|
blur? | number | Experimental Blur radius in px (soft shadow). Default 0. |
color | RGBA | Experimental sRGB 0–1 RGBA. |
offsetX? | number | Experimental Shadow offset in px, +x right. Default 0. |
offsetY? | number | Experimental Shadow offset in px, +y down (screen convention). Default 0. |
width | number | Experimental Outline width in px. Keep ≲ 10% of the font size: the SDF has a limited distance range. |