Represents a single element in a Bezier path.
The first argument should be a command string, following the proper values according to which element we want.
- Possible input:
(‘moveto’, x, y) (‘lineto’, x, y) (‘rlineto’, x, y) (‘curveto’, c1x, c1y, c2x, c2y, x, y) (‘rcurveto’, c1x, c1y, c2x, c2y, x, y) (‘arc’, x, y, radius, angle1, angle2) (‘ellipse’, x, y, w, h) (‘close’,)
Mind the trailing comma in the ‘close’ example, since it just needs an argument. The trailing comma is a way to tell python this really is supposed to be a tuple.