StrokedShape

class Markup.Shapes.StrokedShape()

Constructors

Markup.Shapes.StrokedShape.constructor()
StrokedShape(): StrokedShape

Returns: StrokedShape

Methods

Markup.Shapes.StrokedShape.getStrokeColor()
getStrokeColor(): Color

Gets the stroke color for this shape

Returns: Color

the stroke color
Markup.Shapes.StrokedShape.getStrokeWidth()
getStrokeWidth(): number

Gets the stroke width for this shape in pixels

Returns: number

the stroke width in pixels
Markup.Shapes.StrokedShape.setStrokeColor()
setStrokeColor(color: Color): void

Sets the stroke color for this shape

Parameters

color: Color

the stroke color

Returns: void

Markup.Shapes.StrokedShape.setStrokeWidth()
setStrokeWidth(strokeWidth: number): void

Sets the stroke width for this shape in pixels

Parameters

strokeWidth: number

the stroke width in pixels

Returns: void