Circle
- 
class 
Markup.Shapes.Circle() This class represents a single circle consisting of a center point and a radius.
Constructors
Methods
Methods
getCenter
- 
Circle.getCenter() Gets the center of the circle
Returns: the circle center Return type: Point2 
getFillColor
- 
Circle.getFillColor() Gets the fill color for this shape
Returns: the fill color Return type: Color 
getFillOpacity
- 
Circle.getFillOpacity() Gets the fill opacity for this shape
Returns: the fill opacity Return type: number 
getRadius
- 
Circle.getRadius() Gets the radius of the circle
Returns: the circle radius Return type: number 
getStrokeColor
- 
Circle.getStrokeColor() Gets the stroke color for this shape
Returns: the stroke color Return type: Color 
getStrokeWidth
- 
Circle.getStrokeWidth() Gets the stroke width for this shape in pixels
Returns: the stroke width in pixels Return type: number 
set
setCenter
setFillColor
setFillOpacity
- 
Circle.setFillOpacity(fillOpacity) Arguments: - fillOpacity (
number()) – the fill opacity 
Sets the fill opacity for this shape
Return type: void - fillOpacity (
 
setRadius
- 
Circle.setRadius(radius) Arguments: - radius (
number()) – the circle radius 
Sets the radius of the circle
Return type: void - radius (