# Calico Scheme Reference

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Click on a command for a definition and an example of usage. (Return to Calico Processing.)

 Category Shape 2D Primitives

### 2D Primitives

Draw an arc defined as a fragment of an ellipse.

arc(x, y, width, height, start-angle, end-angle)

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, start-angle, end-angle)

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) )
```