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