StrokedShape

class Communicator.Markup.Shape.StrokedShape()

Methods

getStrokeColor()

getStrokeWidth()

setStrokeColor()

setStrokeWidth()


Methods

getStrokeColor

Communicator.Markup.Shape.StrokedShape.getStrokeColor()

Gets the stroke color for this shape

Return type

Communicator.Color

Returns

the stroke color

getStrokeWidth

Communicator.Markup.Shape.StrokedShape.getStrokeWidth()

Gets the stroke width for this shape in pixels

Return type

Communicator.Pixels

Returns

the stroke width in pixels

setStrokeColor

Communicator.Markup.Shape.StrokedShape.setStrokeColor(color)

Sets the stroke color for this shape

Arguments
  • color (Communicator.Color()) – the stroke color

Return type

void

setStrokeWidth

Communicator.Markup.Shape.StrokedShape.setStrokeWidth(strokeWidth)

Sets the stroke width for this shape in pixels

Arguments
  • strokeWidth (Communicator.Pixels()) – the stroke width in pixels

Return type

void