VerticalOverflow
EnumOptions for handling vertical text overflow.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
Options for handling vertical text overflow. Used by Text's verticalOverflow property.
Index
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.