For the default canvas ( see Section 21.3), you can call the
following functions provided in the canvas module directly:
| linestyle, x1, y1, x2, y2) |
| linestyle, fillstyle, [(x1,y1), ..., (xn, yn)]) |
| linestyle, fillstyle, x1, y1, x2, y2, shadow=None) |
| linestyle, fillstyle, x, y, radius, y_elongation=1, start=0, end=360, shadow=None) |
| linestyle, fillstyle, x1, y2, x2, y2,radius, shadow=None) |
| linestyle, [(x1,y2), ..., (xn, yn)]) |
| x, y, text) |
| str) |
| ) |
| x1, y1, x2, y2) |
| x, y, radius, y_elongation) |
| [(x1,y2),(x2,y2), ..., (xn, yn)]) |
| ) |