- Arguments
`[x y width height start stop]`

`[x y width height start stop mode]`

^{clj}- Docstring
Draws an arc in the display window. Arcs are drawn along the outer edge of an ellipse defined by the x, y, width and height parameters. The origin or the arc's ellipse may be changed with the ellipse-mode function. The start and stop parameters specify the angles at which to draw the arc. The mode is either :open, :chord or :pie.

- Works only inside sketch functions?
- Yes
- Original Processing method
- arc()

- Arguments
`[x y width height]`

- Docstring
Draws an ellipse (oval) in the display window. An ellipse with an equal width and height is a circle. The origin may be changed with the ellipse-mode function

- Works only inside sketch functions?
- Yes
- Original Processing method
- ellipse()

- Arguments
`[x1 y1 z1 x2 y2 z2]`

`[p1 p2]`

`[x1 y1 x2 y2]`

- Docstring
Draws a line (a direct path between two points) to the screen. The version of line with four parameters draws the line in 2D. To color a line, use the stroke function. A line cannot be filled, therefore the fill method will not affect the color of a line. 2D lines are drawn with a width of one pixel by default, but this can be changed with the stroke-weight function. The version with six parameters allows the line to be placed anywhere within XYZ space.

- Works only inside sketch functions?
- Yes
- Original Processing method
- line()

- Arguments
`[x y]`

`[x y z]`

- Docstring
Draws a point, a coordinate in space at the dimension of one pixel. The first parameter is the horizontal value for the point, the second value is the vertical value for the point, and the optional third value is the depth value. Drawing this shape in 3D using the z parameter requires the :P3D or :opengl renderer to be used.

- Works only inside sketch functions?
- Yes
- Original Processing method
- point()

- Arguments
`[x1 y1 x2 y2 x3 y3 x4 y4]`

- Docstring
A quad is a quadrilateral, a four sided polygon. It is similar to a rectangle, but the angles between its edges are not constrained to be ninety degrees. The first pair of parameters (x1,y1) sets the first vertex and the subsequent pairs should proceed clockwise or counter-clockwise around the defined shape.

- Works only inside sketch functions?
- Yes
- Original Processing method
- quad()

- Arguments
`[x y width height r]`

`[x y width height]`

`[x y width height top-left-r top-right-r bottom-right-r bottom-left-r]`

- Docstring
Draws a rectangle to the screen. A rectangle is a four-sided shape with every angle at ninety degrees. By default, the first two parameters set the location of the upper-left corner, the third sets the width, and the fourth sets the height. These parameters may be changed with rect-mode. To draw a rounded rectangle, add a fifth parameter, which is used as the radius value for all four corners. To use a different radius value for each corner, include eight parameters.

- Works only inside sketch functions?
- Yes
- Original Processing method
- rect()

- Arguments
`[x1 y1 x2 y2 x3 y3]`

- Docstring
A triangle is a plane created by connecting three points. The first two arguments specify the first point, the middle two arguments specify the second point, and the last two arguments specify the third point.

- Works only inside sketch functions?
- Yes
- Original Processing method
- triangle()