Calico Scheme Reference
Click on a command for a definition and an example of usage. (Return to Calico Processing.)
Category  Shape
2D Primitives arc( x, y, width, height, startangle, endangle )

2D Primitives
Draw an arc defined as a fragment of an ellipse.
arc(x, y, width, height, startangle, endangle)
This example draws an arc that is a part of the ellipse centered at (100, 100), with width 150 and height 75, starting at an angle of 0 radians and ending at angle that is the number of radians equivalent to 45°.
ellipseMode(CENTER) arc( 100, 100, 150, 75, 0, radians(45) )
2D Primitives
Draw an arc defined as a fragment of an ellipse.
arc(x, y, width, height, startangle, endangle)
This example draws an arc that is a part of the ellipse centered at (100, 100), with width 150 and height 75, starting at an angle of 0 radians and ending at angle that is the number of radians equivalent to 45°.
ellipseMode(CENTER) arc( 100, 100, 150, 75, 0, radians(45) )