TextBoxBase

class Markup.Shapes.TextBoxBase()

Methods

Markup.Shapes.TextBoxBase.getBoxPortion()
getBoxPortion(): RectangleBase

Gets the Box portion of the TextBox. Use the methods on this object to modify the appearance of the rectangle around the text string

Returns: RectangleBase

the 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(): TextMarkupBase

Gets the Text portion of the TextBox. Use the methods on this object to modify the appearance of the text string

Returns: TextMarkupBase

the 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