TextBoxBase

class Markup.Shapes.TextBoxBase()

Methods

getBoxPortion

TextBoxBase.getBoxPortion()

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:the rectangle markup object.
Return type:RectangleBase

getPadding

TextBoxBase.getPadding()

Gets the Pixel distance between the text and outer rectangle

Returns:the padding value.
Return type:number

getTextPortion

TextBoxBase.getTextPortion()

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

Returns:the text markup object
Return type:TextMarkupBase

setPadding

TextBoxBase.setPadding(padding)
Arguments:
  • padding (number()) – the padding value.

Sets the Pixel distance between the text and outer rectangle

Return type:void