Readonly
boundsThis is the bound of a textfield include any whitespace
Readonly
horizontalThis is different then center aligned text.
Readonly
presetReturns the presetTextWarp. TODO - implement this.
Readonly
textThis is the bound of a text not include whitespace
Creates a simple text frame that can be used for rendering and/or measuring.
The text to use
Optional
allowWrap: booleanIf true
then will try to wrap on natural breaks. Defaults the the current settings.
Before using the bounds of a textFrame the layout must be called. This will then return a a clone of this ITextFrame that can be placed and rendered.
Optional
dimensions: Partial<Dimensions>will cause the text to wrap. If bounds are not specified or only a dimension then it will not wrap.
Represents a rectangular container for text and its formatting within a document.
A TextFrame allows precise control over the positioning, size (width and height), layout, and appearance of text content.