TextBoxBase

class Communicator.Markup.Shape.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

Return type

RectangleBase()

Returns

the rectangle markup object.

getPadding

TextBoxBase.getPadding()

Gets the Pixel distance between the text and outer rectangle

Return type

number

Returns

the padding value.

getTextPortion

TextBoxBase.getTextPortion()

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

Return type

TextMarkupBase()

Returns

the text markup object

setPadding

TextBoxBase.setPadding(padding)

Sets the Pixel distance between the text and outer rectangle

Arguments
  • padding (number()) – the padding value.

Return type

void