FilledShape

class Markup.Shapes.FilledShape()

Constructors

Markup.Shapes.FilledShape.constructor()
FilledShape(): FilledShape

Returns: FilledShape

Methods

Markup.Shapes.FilledShape.getFillColor()
getFillColor(): Color

Gets the fill color for this shape

Returns: Color

the fill color
Markup.Shapes.FilledShape.getFillOpacity()
getFillOpacity(): number

Gets the fill opacity for this shape

Returns: number

the fill opacity
Markup.Shapes.FilledShape.getStrokeColor()

inherited

getStrokeColor(): Color

Gets the stroke color for this shape

Returns: Color

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

inherited

getStrokeWidth(): number

Gets the stroke width for this shape in pixels

Returns: number

the stroke width in pixels
Markup.Shapes.FilledShape.setFillColor()
setFillColor(color: Color): void

Sets the fill color for this shape

Parameters

color: Color

the fill color

Returns: void

Markup.Shapes.FilledShape.setFillOpacity()
setFillOpacity(fillOpacity: number): void

Sets the fill opacity for this shape

Parameters

fillOpacity: number

the fill opacity

Returns: void

Markup.Shapes.FilledShape.setStrokeColor()

inherited

setStrokeColor(color: Color): void

Sets the stroke color for this shape

Parameters

color: Color

the stroke color

Returns: void

Markup.Shapes.FilledShape.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