Creates an ellipse represented as an Arc object. An ellipse is specified by its center, the lengths of its semi-major and semi-minor axes, and optional styles for filling and stroking.
Creates an ellipse represented as an Arc object. An ellipse is specified by its center, the lengths of its semi-major and semi-minor axes, and optional styles for filling and stroking.
Value parameters
center
The center position of the ellipse.
fillStyle
Optional fill style to apply to the ellipse. Determines the inside color.
semiMajorAxis
The length of the semi-major axis in pixels.
semiMinorAxis
The length of the semi-minor axis in pixels.
strokeStyle
Optional stroke style to apply to the ellipse's perimeter. Defines the outline appearance.
Attributes
Returns
A VectorGraphic instance representing the ellipse, specifically an Arc with a full angular extent.