Text block's horizontal offset from the automatically calculated position.
Text block's vertical offset from the automatically calculated position.
Returns the bounding box where text should fit and/or be anchored.
Sets the bounding box where text should fit and/or be anchored.
Returns the text color.
Sets the text color.
Returns the text's font family.
Sets the text's font family.
Returns the background rectangle (behind the text).
Returns the text block's text
Sets the text block's text.
Returns the text block's text element.
Returns the size of the rectangle containing the text block's text.
Positions the text within the text block.
Optional
textBlock: TextBlockOptional
onFired when text size changes.
Generated using TypeDoc
TextBlock represents a block of text used across all text-based stencils and connector labels.