Skip to main content

VerticalOverflow

Enum

Options for handling vertical text overflow.

  • Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.

Platform details

  • Snapchat — Fully supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Fully supported.

  • Camera Kit Mobile — Fully supported.

Options for handling vertical text overflow. Used by Text's verticalOverflow property.

Index

Enumeration Members

Example

//@input Component.Text textComponent

script.textComponent.verticalOverflow = VerticalOverflow.Truncate;

Enumeration Members

Overflow

Overflow: number

Text will continue to draw past the end of the vertical boundaries.


Shrink

Shrink: number

Text will shrink to fit within the vertical boundaries.


Truncate

Truncate: number

Text will be clipped at the end of the vertical boundaries.