CircleCollection
-
class
Markup.Shapes.CircleCollection() This class is useful for specifying multiple circles that all share the same visual appearance.
Constructors
-
Markup.Shapes.CircleCollection.constructor() - CircleCollection():
CircleCollectionReturns:
CircleCollection
Methods
-
Markup.Shapes.CircleCollection.addCircle() - addCircle(center:
Point2, radius: number): voidAdds a circle to the collection
Parameters
Returns: void
-
Markup.Shapes.CircleCollection.clear() - clear(): void
Removes all circles from this collection
Returns: void
-
Markup.Shapes.CircleCollection.getCircles() - getCircles(): _MarkupCircleData[]
Gets the circles in the collection
Returns: _MarkupCircleData[]
-
Markup.Shapes.CircleCollection.getFillColor() inherited
getFillColor():ColorGets the fill color for this shape
Returns:
Colorthe fill color
-
Markup.Shapes.CircleCollection.getFillOpacity() inherited
getFillOpacity(): numberGets the fill opacity for this shape
Returns: number
the fill opacity
-
Markup.Shapes.CircleCollection.getStrokeColor() inherited
getStrokeColor():ColorGets the stroke color for this shape
Returns:
Colorthe stroke color
-
Markup.Shapes.CircleCollection.getStrokeWidth() inherited
getStrokeWidth(): numberGets the stroke width for this shape in pixels
Returns: number
the stroke width in pixels
-
Markup.Shapes.CircleCollection.setCircle() - setCircle(index: number, center:
Point2, radius: number): voidUpdates a circle in the collection
Parameters
index: number
the index of the circle to updatecenter:
Point2circle centerradius: number
the circle radiusReturns: void
-
Markup.Shapes.CircleCollection.setFillColor() inherited
setFillColor(color:Color): voidSets the fill color for this shape
Parameters
color:
Colorthe fill colorReturns: void
-
Markup.Shapes.CircleCollection.setFillOpacity() inherited
setFillOpacity(fillOpacity: number): voidSets the fill opacity for this shape
Parameters
fillOpacity: number
the fill opacityReturns: void
-
Markup.Shapes.CircleCollection.setStrokeColor() inherited
setStrokeColor(color:Color): voidSets the stroke color for this shape
Parameters
color:
Colorthe stroke colorReturns: void
-
Markup.Shapes.CircleCollection.setStrokeWidth() inherited
setStrokeWidth(strokeWidth: number): voidSets the stroke width for this shape in pixels
Parameters
strokeWidth: number
the stroke width in pixelsReturns: void