Description

Options for wrapping text horizontally. Used by Text component's horizontalOverflow property.

Example

// @input Component.Text textComponent

script.textComponent.horizontalOverflow = HorizontalOverflow.Wrap;

Enumeration Members

Enumeration Members

Overflow: number

Description

Text will continue drawing past horizontal boundaries.

Shrink: number

Description

Text will shrink to fit within the horizontal boundaries.

Truncate: number

Description

Text is clipped to the width of horizontal boundaries.

Wrap: number

Description

Text wraps when reaching horizontal boundaries and continues on the next line.

Generated using TypeDoc