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(): Color

Gets the fill color for this shape

Returns: Color

the fill color
Markup.Shapes.TextMarkupBase.getFillOpacity()

inherited

getFillOpacity(): number

Gets 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(): Color

Gets the stroke color for this shape

Returns: Color

the stroke color
Markup.Shapes.TextMarkupBase.getStrokeWidth()

inherited

getStrokeWidth(): number

Gets the stroke width for this shape in pixels

Returns: number

the stroke width in pixels
Markup.Shapes.TextMarkupBase.setFillColor()

inherited

setFillColor(color: Color): void

Sets the fill color for this shape

Parameters

color: Color

the fill color

Returns: void

Markup.Shapes.TextMarkupBase.setFillOpacity()

inherited

setFillOpacity(fillOpacity: number): void

Sets the fill opacity for this shape

Parameters

fillOpacity: number

the fill opacity

Returns: void

Markup.Shapes.TextMarkupBase.setFontFamily()
setFontFamily(fontFamily: string): void

Sets the font family this shape

Parameters

fontFamily: string

font family to use for this text

Returns: void

Markup.Shapes.TextMarkupBase.setFontSize()
setFontSize(fontSize: number): void

Sets the font size for this text

Parameters

fontSize: number

size to use for this text

Returns: void

Markup.Shapes.TextMarkupBase.setStrokeColor()

inherited

setStrokeColor(color: Color): void

Sets the stroke color for this shape

Parameters

color: Color

the stroke color

Returns: void

Markup.Shapes.TextMarkupBase.setStrokeWidth()

inherited

setStrokeWidth(strokeWidth: number): void

Sets the stroke width for this shape in pixels

Parameters

strokeWidth: number

the stroke width in pixels

Returns: void