Sign In

$ellipse[]

Draws a eliiptical arc in the current path

v1.0.0+ Requires Brackets

Usage

$ellipse[;;;;;;;;]
Also callable as
$elArc

Arguments

NameTypeRequiredDescription
canvas
StringNoName of the canvas
x
NumberYesThe X coordinate of the ellipse's center
y
NumberYesThe Y coordinate of the ellipse's center
radiusX
NumberYesThe ellipse's major-axis radius. Must be positive
radiusY
NumberYesThe ellipse's minor-axis radius. Must be positive
rotation
NumberYesThe rotation of the ellipse, expressed in radians
startAngle
NumberYesThe eccentric angle at which the ellipse starts.
endAngle
NumberYesThe eccentric angle at which the ellipse ends
counterclockwise
BooleanNoAn optional boolean value. If true, draws the ellipse counter-clockwise between the start and end angles

Was this page helpful?