Skip to content

1681-engine / ui / RichStyle

Interface: RichStyle ​

Defined in: src/ui/rich/richMarkup.ts:20

How a run of text is drawn. Unset fields fall back to the font's own.

Properties ​

bold ​

ts
bold: boolean;

Defined in: src/ui/rich/richMarkup.ts:22


color? ​

ts
optional color?: string;

Defined in: src/ui/rich/richMarkup.ts:21


italic ​

ts
italic: boolean;

Defined in: src/ui/rich/richMarkup.ts:23


size? ​

ts
optional size?: number;

Defined in: src/ui/rich/richMarkup.ts:24

Released under the MIT License.