Home | Trees | Indices | Help |
|
---|
|
object --+ | BoundingBox
Class representing a bounding box (a rectangular area).
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
bottom Y coordinate of the bottom of the box |
|||
coords Sets or returns the coordinates of the corners |
|||
height Gets the height of the bounding box |
|||
left X coordinate of the left side of the box |
|||
right X coordinate of the right side of the box |
|||
shape Gets the shape of the bounding box (width, height) |
|||
top Y coordinate of the top of the box |
|||
width Gets the width of the bounding box |
|||
Inherited from |
|
Creates a bounding box. The corners of the bounding box can be specified by either a tuple (four items, two for each corner, respectively), four separate numbers (X and Y coordinates for each corner) or two separate numbers (width and height, the upper left corner is assumed to be at (0,0))
|
repr(x)
|
Sets the coordinates of the corners.
|
Contracts the bounding box by the given margins.
|
|
bottomY coordinate of the bottom of the box
|
coordsSets or returns the coordinates of the corners
|
heightGets the height of the bounding box
|
leftX coordinate of the left side of the box
|
rightX coordinate of the right side of the box
|
shapeGets the shape of the bounding box (width, height)
|
topY coordinate of the top of the box
|
widthGets the width of the bounding box
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Aug 16 21:30:47 2008 | http://epydoc.sourceforge.net |