CircleCollection
- class Markup.Shapes.CircleCollection()
This class is useful for specifying multiple circles that all share the same visual appearance.
Constructors
Methods
Constructors
- CircleCollection.constructor()
- Return type
CircleCollection
Methods
addCircle
clear
- CircleCollection.clear()
Removes all circles from this collection
- Return type
void
getCircles
- CircleCollection.getCircles()
Gets the circles in the collection
- Return type
[_MarkupCircleData]
getFillColor
- CircleCollection.getFillColor()
Gets the fill color for this shape
- Returns
the fill color
- Return type
Color
getFillOpacity
- CircleCollection.getFillOpacity()
Gets the fill opacity for this shape
- Returns
the fill opacity
- Return type
number
getStrokeColor
- CircleCollection.getStrokeColor()
Gets the stroke color for this shape
- Returns
the stroke color
- Return type
Color
getStrokeWidth
- CircleCollection.getStrokeWidth()
Gets the stroke width for this shape in pixels
- Returns
the stroke width in pixels
- Return type
number
setCircle
setFillColor
setFillOpacity
- CircleCollection.setFillOpacity(fillOpacity)
- Arguments
fillOpacity (
number()
) – the fill opacity
Sets the fill opacity for this shape
- Return type
void
setStrokeColor
setStrokeWidth
- CircleCollection.setStrokeWidth(strokeWidth)
- Arguments
strokeWidth (
number()
) – the stroke width in pixels
Sets the stroke width for this shape in pixels
- Return type
void