Sign In

$arc[]

Draws a circular arc in the current path

v1.0.0+ Requires Brackets

Usage

$arc[;;;;;;]

Arguments

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

Was this page helpful?