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