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

// @input Component.Text textComponent

script.textComponent.horizontalOverflow = HorizontalOverflow.Wrap;

Enumeration Members

Enumeration Members

Overflow: number

Text will continue drawing past horizontal boundaries.

Shrink: number

Text will shrink to fit within the horizontal boundaries.

Truncate: number

Text is clipped to the width of horizontal boundaries.

Wrap: number

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