the center x coordinate of the ellipse
the center y coordinate of the ellipse
width (diameter) of the ellipse
height (diameter) of the ellipse
The bounding rectangle for this shape
the center coordinates of the ellipse
Maximum radius of the ellipse
Pre-scaled radius vector for ellipse
x/y scaling ratio for ellipse
the shape type (used internally)
the rotation angle of the ellipse in radians
check if this circle/ellipse contains the specified point
true if contains
returns the bounding box for this shape, the smallest Rectangle object completely containing this shape.
this shape bounding box Rectangle object
Scale this Ellipse by the specified scalar.
the scale factor along the x-axis
Optionaly: number = xthe scale factor along the y-axis
Reference to this object for method chaining
set new value to the Ellipse shape
the center x coordinate of the ellipse
the center y coordinate of the ellipse
width (diameter) of the ellipse
height (diameter) of the ellipse
this instance for objecf chaining
Returns a polygon approximation of this ellipse. The polygon is cached and only recomputed when the ellipse shape changes.
Optionalsegments: number = 16the number of segments to use for the approximation
a Polygon representing this ellipse
translate the circle/ellipse by the specified offset
x coordinate or a vector point to translate by
Optionaly: numbery offset
this ellipse
an ellipse Object