| Rectangle |
|
typedict |
| |
A
Rectangle
completely describes a rectangle by giving its size and the coordinates
of the upper left corner.
The fields in a
Rectangle
are:
| height |
A
double
that represents the vertical size of the rectangle.
| | width |
A
double
that represents the horizontal size of the rectangle.
| | x |
A
double
that represents the horizontal displacement of the upper left corner
of the rectangle from the origin.
| | y |
A
double
that represents the vertical displacement of the upper left corner
of the rectangle from the origin.
|
All four numbers are often given in the default Yoix coordinate system,
which has its origin at the upper left corner of the screen,
positive x to the right, positive y down, and a resolution of
72 dots per inch.
|
Yoix is a registered trademark of AT&T Intellectual Property.
|