March 2003
Intermediate to advanced
656 pages
39h 30m
English
create_rectangle
c.create_rectangle(x0,y0,x1,y1,**rect_options)
Creates a rectangle
item with vertices at the given coordinates and returns the
item’s handle.
rect_options may include:
fill
The rectangle’s interior color (default is empty)
outline
The rectangle’s perimeter color (default is black)
tags
A string (to assign a single tag to this item) or a tuple of strings (to assign multiple tags to this item)
width
Width of the perimeter line in pixels (default 1)
Read now
Unlock full access