StrokedShape
-
class
Markup.Shapes.StrokedShape()
Constructors
-
Markup.Shapes.StrokedShape.constructor() - StrokedShape():
StrokedShapeReturns:
StrokedShape
Methods
-
Markup.Shapes.StrokedShape.getStrokeColor() - getStrokeColor():
ColorGets the stroke color for this shape
Returns:
Colorthe 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): voidSets the stroke color for this shape
Parameters
color:
Colorthe stroke colorReturns: 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 pixelsReturns: void