Documentation / device / DrawTextLayoutOptions
Interface: DrawTextLayoutOptions
Defined in: libs/device/src/base_types.ts:2480
Layout options for drawing text inside a rectangle
Properties
halign?
optionalhalign?:TextHorizontalAlignment
Defined in: libs/device/src/base_types.ts:2482
Horizontal alignment of each line
valign?
optionalvalign?:TextVerticalAlignment
Defined in: libs/device/src/base_types.ts:2484
Vertical alignment of the text block
wordWrap?
optionalwordWrap?:boolean
Defined in: libs/device/src/base_types.ts:2486
Whether to wrap text automatically to fit the rectangle width