2.4.5 Predefined paths

For convenience, some oft-used paths are already predefined. All of them are subclasses of the path class.

class line( x0, y0, x1, y1)
A straight line from the point (x0, y0) to the point (x1, y1).

class curve( x0, y0, x1, y1, x2, y2, x3, y3)
A Bézier curve with control points (x0, y0), $\dots$, (x3, y3).

class rect( x, y, w, h)
A closed rectangle with lower left point (x, y), width w, and height h.

class circle( x, y, r)
A closed circle with center (x, y) and radius r.