Skip to content

1681-engine / ui / RichTextItem

Interface: RichTextItem ​

Defined in: src/ui/rich/richLayout.ts:40

Properties ​

height ​

ts
height: number;

Defined in: src/ui/rich/richLayout.ts:48


kind ​

ts
kind: "text";

Defined in: src/ui/rich/richLayout.ts:41


style ​

ts
style: RichStyle;

Defined in: src/ui/rich/richLayout.ts:43


text ​

ts
text: string;

Defined in: src/ui/rich/richLayout.ts:42


width ​

ts
width: number;

Defined in: src/ui/rich/richLayout.ts:47


x ​

ts
x: number;

Defined in: src/ui/rich/richLayout.ts:44


y ​

ts
y: number;

Defined in: src/ui/rich/richLayout.ts:46

Top of the text's own line box.

Released under the MIT License.