pythonware.com | products ::: library ::: search ::: daily Python-URL! |
The Canvas Arc ItemChapter 14. The Canvas Arc ItemAn arc item is a section of oval, delimited by two angles (start and extent). An arc item can be drawn in one of three ways:
xy = 20, 20, 300, 180 canvas.create_arc(xy, start=0, extent=270, fill="red") canvas.create_arc(xy, start=270, extent=60, fill="blue") canvas.create_arc(xy, start=330, extent=30, fill="green") Pieslices and chords can be filled. Figure 14-1. Pieslice Example MethodsThe following methods are used to create and configure arc items:
|