ReadonlyautoReadonlyboundsThis is the bound of a textfield include any whitespace
ReadonlycolumnReadonlycolumnReadonlyfontReadonlyhorizontalThis is different then center aligned text.
ReadonlyinsetsReadonlyisFor runtime type checking.
ReadonlyisReadonlylineReadonlylinesReadonlyorientationReadonlyparagraphsReadonlypresetReturns the presetTextWarp. TODO - implement this.
ReadonlytextThis is the bound of a text not include whitespace
ReadonlyverticalReadonlyverticalReadonlywrappedCreates a simple text frame that can be used for rendering and/or measuring.
The text to use
OptionalallowWrap: boolean
If true then will try to wrap on natural breaks. Defaults the the current settings.
Returns the frame's text with its formatting stripped.
, and a line break inside a paragraph is also .''.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.
Optionaldimensions: Partial<Size>
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.