API Reference for Enthought Tool Suite 3.0.1

Represents a box in screen space, and provides convenience properties to access bounds and coordinates in a variety of ways.

Primary attributes (not properties):
position : [x, y] bounds : [width, height]
Secondary attributes (properties):
x, y : coordinates of the lower-left pixel of the box x2, y2 : coordinates of the upper-right pixel of the box width : the number of horizontal pixels in the box; equal to x2-x+1 height : the number of vertical pixels in the box; equal to y2-y+1

Note that setting x and y will modify the position, but setting any of the other secondary attributes will modify the bounds of the box.

Inherits from

Attributes

Inherited from base classes

Method summary

Inherited from base classes

Methods

© Copyright 2002-2008 Enthought, Inc.