Skip to content

@jimka/typescript-ui / core / TextMeasureOptions

Interface: TextMeasureOptions

Defined in: src/typescript/lib/core/Util.ts:9

Font options for off-screen text measurement. All properties default to the active theme variables when omitted.

Properties

fontFamily?

ts
optional fontFamily: string;

Defined in: src/typescript/lib/core/Util.ts:10


fontSize?

ts
optional fontSize: string;

Defined in: src/typescript/lib/core/Util.ts:11


fontStretch?

ts
optional fontStretch: string;

Defined in: src/typescript/lib/core/Util.ts:15


fontStyle?

ts
optional fontStyle: string;

Defined in: src/typescript/lib/core/Util.ts:13


fontVariant?

ts
optional fontVariant: string;

Defined in: src/typescript/lib/core/Util.ts:14


fontWeight?

ts
optional fontWeight: string;

Defined in: src/typescript/lib/core/Util.ts:12


lineHeight?

ts
optional lineHeight: string;

Defined in: src/typescript/lib/core/Util.ts:16