Skip to content

TextAlign

const TextAlign: object

Defined in: ui/core/text.ts:12

Horizontal alignment. With a layout box it aligns inside the box; without one it anchors the run relative to the entity’s own position.

readonly Center: 1 = 1

readonly Left: 0 = 0

readonly Right: 2 = 2