Skip to content

@blooper.gg/toodle


@blooper.gg/toodle / text/shaping / MsdfTextMeasurements

Interface: MsdfTextMeasurements

Defined in: text/shaping.ts:12

Properties

height

height: number

Defined in: text/shaping.ts:16

The height of the text block in em units.


lineCount

lineCount: number

Defined in: text/shaping.ts:20

The number of lines in the text block.


lineWidths

lineWidths: number[]

Defined in: text/shaping.ts:18

The width of each line in em units.


printedCharCount

printedCharCount: number

Defined in: text/shaping.ts:22

The number of characters printed in the text block.


width

width: number

Defined in: text/shaping.ts:14

The width of the text block in em units.


words

words: Word[]

Defined in: text/shaping.ts:25

All words in the text block