Circle
-
class
Markup.Shapes.Circle() This class represents a single circle consisting of a center point and a radius.
Methods
-
Markup.Shapes.Circle.getCenter() - getCenter():
Point2Gets the center of the circle
Returns:
Point2the circle center
-
Markup.Shapes.Circle.getFillColor() inherited
getFillColor():ColorGets the fill color for this shape
Returns:
Colorthe fill color
-
Markup.Shapes.Circle.getFillOpacity() inherited
getFillOpacity(): numberGets the fill opacity for this shape
Returns: number
the fill opacity
-
Markup.Shapes.Circle.getRadius() - getRadius(): number
Gets the radius of the circle
Returns: number
the circle radius
-
Markup.Shapes.Circle.getStrokeColor() inherited
getStrokeColor():ColorGets the stroke color for this shape
Returns:
Colorthe stroke color
-
Markup.Shapes.Circle.getStrokeWidth() inherited
getStrokeWidth(): numberGets the stroke width for this shape in pixels
Returns: number
the stroke width in pixels
-
Markup.Shapes.Circle.set() - set(center:
Point2, radius: number): voidSets the values for the circle
Parameters
Returns: void
-
Markup.Shapes.Circle.setCenter() - setCenter(center:
Point2): voidSets the center of the circle
Parameters
center:Point2Returns: void
-
Markup.Shapes.Circle.setFillColor() inherited
setFillColor(color:Color): voidSets the fill color for this shape
Parameters
color:
Colorthe fill colorReturns: void
-
Markup.Shapes.Circle.setFillOpacity() inherited
setFillOpacity(fillOpacity: number): voidSets the fill opacity for this shape
Parameters
fillOpacity: number
the fill opacityReturns: void
-
Markup.Shapes.Circle.setRadius() - setRadius(radius: number): void
Sets the radius of the circle
Parameters
radius: number
the circle radiusReturns: void
-
Markup.Shapes.Circle.setStrokeColor() inherited
setStrokeColor(color:Color): voidSets the stroke color for this shape
Parameters
color:
Colorthe stroke colorReturns: void
-
Markup.Shapes.Circle.setStrokeWidth() inherited
setStrokeWidth(strokeWidth: number): voidSets the stroke width for this shape in pixels
Parameters
strokeWidth: number
the stroke width in pixelsReturns: void