TextMarkupBase
- class Communicator.Markup.Shape.TextMarkupBase()
This is a base class for text markup objects. It should not be created directly.
Methods
Methods
getFillColor
getFillOpacity
- TextMarkupBase.getFillOpacity()
Gets the fill opacity for this shape
- Return type
number
- Returns
the fill opacity
getFontFamily
- TextMarkupBase.getFontFamily()
Gets the font family for this text
- Return type
string | null
- Returns
the font family
getFontSize
- TextMarkupBase.getFontSize()
Gets the font size for this text
- Return type
number
- Returns
the font size
getStrokeColor
getStrokeWidth
setFillColor
setFillOpacity
- TextMarkupBase.setFillOpacity(fillOpacity)
Sets the fill opacity for this shape
- Arguments
fillOpacity (
number()
) – the fill opacity
- Return type
void
setFontFamily
- TextMarkupBase.setFontFamily(fontFamily)
Sets the font family this shape
- Arguments
fontFamily (
string()
) – font family to use for this text
- Return type
void
setFontSize
- TextMarkupBase.setFontSize(fontSize)
Sets the font size for this text
- Arguments
fontSize (
number()
) – size to use for this text
- Return type
void