March 2003
Intermediate to advanced
656 pages
39h 30m
English
bbox
c.bbox(item)Returns an approximate bounding box for
item, a tuple of four integers: the pixel
coordinates of minimum x, minimum
y, maximum x, maximum
y, in this order. For example,
c
.bbox(ALL) returns the
minimum and maximum x and y
coordinates of all items on c. When
c has no items at all,
c
.bbox(ALL) returns
None.
Read now
Unlock full access