:: drafts :: com :: sun :: star :: geometry ::
|
struct IntegerRectangle2D |
|
- Description
- This structure contains the necessary information for a
two-dimensional rectangle.
Please note that the XCanvas defines the screen representation of
rectangles in such a way that the lower and the rightmost line of
the rectangle are drawn on screen. Thus, if for two rectangles R1
and R2, R1.x2 equals R2.x1, the screen representation of these
rectangles will not overlap, but being exactly adjacent.
|
Elements' Summary |
X1 |
X coordinate of upper left corner |
Y1 |
Y coordinate of upper left corner |
X2 |
X coordinate of lower right corner. Must be greater than x1. |
Y2 |
Y coordinate of lower right corner. Must be greater than y1. |
Elements' Details |
X1
long X1;
- Description
- X coordinate of upper left corner
|
|
Y1
long Y1;
- Description
- Y coordinate of upper left corner
|
|
X2
long X2;
- Description
- X coordinate of lower right corner. Must be greater than x1.
|
|
Y2
long Y2;
- Description
- Y coordinate of lower right corner. Must be greater than y1.
|
|
Top of Page
Copyright © 2003 Sun Microsystems, Inc.