TextBoxCollection
- class Communicator.Markup.Shape.TextBoxCollection()
This class is useful for drawing a number of text boxes which share the same visual settings.
Methods
addString
clear
- TextBoxCollection.clear()
Removes all text strings from this collection
- Return type
void
getBoxPortion
- TextBoxCollection.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
- Returns
the rectangle markup object.
getPadding
- TextBoxCollection.getPadding()
Gets the Pixel distance between the text and outer rectangle
- Return type
number
- Returns
the padding value.
getStrings
- TextBoxCollection.getStrings()
Gets the strings in the collection
- Return type
[_MarkupTextData]
getTextPortion
- TextBoxCollection.getTextPortion()
Gets the Text portion of the TextBox. Use the methods on this object to modify the appearance of the text string
- Return type
- Returns
the text markup object
setPadding
- TextBoxCollection.setPadding(padding)
Sets the Pixel distance between the text and outer rectangle
- Arguments
padding (
number()
) – the padding value.
- Return type
void