StrokedShape

class Markup.Shapes.StrokedShape()

Constructors


Constructors

StrokedShape.constructor()
Return type:StrokedShape

Methods

getStrokeColor

StrokedShape.getStrokeColor()

Gets the stroke color for this shape

Returns:the stroke color
Return type:Color

getStrokeWidth

StrokedShape.getStrokeWidth()

Gets the stroke width for this shape in pixels

Returns:the stroke width in pixels
Return type:number

setStrokeColor

StrokedShape.setStrokeColor(color)
Arguments:
  • color (Color()) – the stroke color

Sets the stroke color for this shape

Return type:void

setStrokeWidth

StrokedShape.setStrokeWidth(strokeWidth)
Arguments:
  • strokeWidth (number()) – the stroke width in pixels

Sets the stroke width for this shape in pixels

Return type:void