ResolvedTextStyle
import type { ResolvedTextStyle } from 'pixi-silk/text';
type ResolvedTextStyle = Required<Omit<SilkTextStyle, "outline" | "shadow">> & {
outline: TextOutline | null;
shadow: TextShadow | null;
};
A SilkTextStyle with every field set, as SilkText.defaults holds it.
Type Declaration#
| Name | Type | Description | Defined in |
|---|---|---|---|
outline | TextOutline | null | A line around the glyphs, or null. | text/SilkText.ts:112 |
shadow | TextShadow | null | A drop shadow or glow, or null. | text/SilkText.ts:114 |