FilledShape
- class Markup.Shapes.FilledShape()
Constructors
Methods
Constructors
- FilledShape.constructor()
- Return type
FilledShape
Methods
getFillColor
- FilledShape.getFillColor()
Gets the fill color for this shape
- Returns
the fill color
- Return type
Color
getFillOpacity
- FilledShape.getFillOpacity()
Gets the fill opacity for this shape
- Returns
the fill opacity
- Return type
number
getStrokeColor
- FilledShape.getStrokeColor()
Gets the stroke color for this shape
- Returns
the stroke color
- Return type
Color
getStrokeWidth
- FilledShape.getStrokeWidth()
Gets the stroke width for this shape in pixels
- Returns
the stroke width in pixels
- Return type
number
setFillColor
setFillOpacity
- FilledShape.setFillOpacity(fillOpacity)
- Arguments
fillOpacity (
number()) – the fill opacity
Sets the fill opacity for this shape
- Return type
void
setStrokeColor
setStrokeWidth
- FilledShape.setStrokeWidth(strokeWidth)
- Arguments
strokeWidth (
number()) – the stroke width in pixels
Sets the stroke width for this shape in pixels
- Return type
void