TextBoxBase
-
class
Markup.Shapes.TextBoxBase()
Methods
-
Markup.Shapes.TextBoxBase.getBoxPortion() - getBoxPortion():
RectangleBaseGets the Box portion of the TextBox. Use the methods on this object to modify the appearance of the rectangle around the text string
Returns:
RectangleBasethe rectangle markup object.
-
Markup.Shapes.TextBoxBase.getPadding() - getPadding(): number
Gets the Pixel distance between the text and outer rectangle
Returns: number
the padding value.
-
Markup.Shapes.TextBoxBase.getTextPortion() - getTextPortion():
TextMarkupBaseGets the Text portion of the TextBox. Use the methods on this object to modify the appearance of the text string
Returns:
TextMarkupBasethe text markup object
-
Markup.Shapes.TextBoxBase.setPadding() - setPadding(padding: number): void
Sets the Pixel distance between the text and outer rectangle
Parameters
padding: number
the padding value.Returns: void