pythonware.com products ::: library ::: search ::: daily Python-URL!
   

Options

Back   Next   

 Options

The oval item supports the following options, via the create_oval method, and the itemconfig and itemcget configuration methods.

Table 18-1. Canvas Oval Options

Option

Type

Description

fill

color

The color to use for the interior. If an empty string is given, the interior is not drawn. Default is empty (transparent).

stipple

bitmap

The name of a bitmap which is used as a stipple brush when filling the oval's interior. Typical values are "gray12", "gray25", "gray50", or "gray75". Default is a solid brush (no bitmap).

As of Tk 8.0, the stipple option is ignored on the Windows platform. To draw stippled ovals, you have to create corresponding polygons.

outline

color

The color to use for the outline. If an empty string is given, the outline is not drawn. Default is "black".

width

distance

The width of the outline. Default is 1 pixel.

tags

tuple

One or more tags to associate with this item. If only a single tag is to be used, you can use a single string instead of a tuple of strings.

Back   Next