TextBoxBase

class Communicator.Markup.Shape.TextBoxBase()

Methods

getBoxPortion()

getPadding()

getTextPortion()

setPadding()


Methods

getBoxPortion

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

Communicator.Markup.Shape.RectangleBase

Returns

the rectangle markup object.

getPadding

Communicator.Markup.Shape.TextBoxBase.getPadding()

Gets the Pixel distance between the text and outer rectangle

Return type

number

Returns

the padding value.

getTextPortion

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

Communicator.Markup.Shape.TextMarkupBase

Returns

the text markup object

setPadding

Communicator.Markup.Shape.TextBoxBase.setPadding(padding)

Sets the Pixel distance between the text and outer rectangle

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

Return type

void