Lens Scripting API

    Enumeration HorizontalOverflow

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

    // @input Component.Text textComponent

    script.textComponent.horizontalOverflow = HorizontalOverflow.Wrap;
    Index

    Enumeration Members

    Ellipsis: number

    When text exceeds the available space an ellipsis (...) will be added at the end.

    EllipsisFront: number
    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.

    TruncateFront: number
    Wrap: number

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

    MMNEPVFCICPMFPCPTTAAATR