TextCollection
-
class
Markup.Shapes.TextCollection() This is a base class for text markup objects. It should not be created directly.
Methods
-
Markup.Shapes.TextCollection.addString() - addString(text: string, position:
Point2): voidAdds a string to the collection
Parameters
Returns: void
-
Markup.Shapes.TextCollection.clear() - clear(): void
Removes all text strings from this collection
Returns: void
-
Markup.Shapes.TextCollection.getFillColor() inherited
getFillColor():ColorGets the fill color for this shape
Returns:
Colorthe fill color
-
Markup.Shapes.TextCollection.getFillOpacity() inherited
getFillOpacity(): numberGets the fill opacity for this shape
Returns: number
the fill opacity
-
Markup.Shapes.TextCollection.getFontFamily() inherited
getFontFamily(): (None | string)Gets the font family for this text
Returns: (None | string)
the font family
-
Markup.Shapes.TextCollection.getFontSize() inherited
getFontSize(): numberGets the font size for this text
Returns: number
the font size
-
Markup.Shapes.TextCollection.getStrings() - getStrings(): _MarkupTextData[]
Gets the strings in the collection
Returns: _MarkupTextData[]
-
Markup.Shapes.TextCollection.getStrokeColor() inherited
getStrokeColor():ColorGets the stroke color for this shape
Returns:
Colorthe stroke color
-
Markup.Shapes.TextCollection.getStrokeWidth() inherited
getStrokeWidth(): numberGets the stroke width for this shape in pixels
Returns: number
the stroke width in pixels
-
Markup.Shapes.TextCollection.setFillColor() inherited
setFillColor(color:Color): voidSets the fill color for this shape
Parameters
color:
Colorthe fill colorReturns: void
-
Markup.Shapes.TextCollection.setFillOpacity() inherited
setFillOpacity(fillOpacity: number): voidSets the fill opacity for this shape
Parameters
fillOpacity: number
the fill opacityReturns: void
-
Markup.Shapes.TextCollection.setFontFamily() inherited
setFontFamily(fontFamily: string): voidSets the font family this shape
Parameters
fontFamily: string
font family to use for this textReturns: void
-
Markup.Shapes.TextCollection.setFontSize() inherited
setFontSize(fontSize: number): voidSets the font size for this text
Parameters
fontSize: number
size to use for this textReturns: void
-
Markup.Shapes.TextCollection.setStrokeColor() inherited
setStrokeColor(color:Color): voidSets the stroke color for this shape
Parameters
color:
Colorthe stroke colorReturns: void
-
Markup.Shapes.TextCollection.setStrokeWidth() inherited
setStrokeWidth(strokeWidth: number): voidSets the stroke width for this shape in pixels
Parameters
strokeWidth: number
the stroke width in pixelsReturns: void