StrokedShape

class wv.Markup.Shapes.StrokedShape()

Constructors

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

Returns: StrokedShape

Methods

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

Gets the stroke color for this shape

Returns: Color

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

Gets the stroke width for this shape in pixels

Returns: number

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

Sets the stroke color for this shape

Parameters

color: Color

the stroke color

Returns: void

wv.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