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