Methods' Summary |
getBounds |
returns the bounding box of the shape.
|
clear |
makes this region an empty region.
|
move |
moves this region by the specified horizontal and vertical delta.
|
unionRectangle |
adds the specified rectangle to this region.
|
intersectRectangle |
intersects the specified rectangle with the current region.
|
excludeRectangle |
removes the area of the specified rectangle from this region.
|
xOrRectangle |
applies an exclusive-or operation with the specified rectangle
to this region.
|
unionRegion |
adds the specified region to this region.
|
intersectRegion |
intersects the specified region with the current region.
|
excludeRegion |
removes the area of the specified region from this region.
|
xOrRegion |
applies an exclusive-or operation with the specified region
to this region.
|
getRectangles |
returns all rectangles which are making up this region.
|
Methods' Details |
getBounds
- Description
- returns the bounding box of the shape.
|
|
clear
- Description
- makes this region an empty region.
|
|
move
[oneway] void |
move( |
[in] long |
nHorzMove, |
| [in] long |
nVertMove ); |
- Description
- moves this region by the specified horizontal and vertical delta.
|
|
unionRectangle
[oneway] void |
unionRectangle( |
[in] Rectangle |
Rect ); |
- Description
- adds the specified rectangle to this region.
|
|
intersectRectangle
[oneway] void |
intersectRectangle( |
[in] Rectangle |
Region ); |
- Description
- intersects the specified rectangle with the current region.
|
|
excludeRectangle
[oneway] void |
excludeRectangle( |
[in] Rectangle |
Rect ); |
- Description
- removes the area of the specified rectangle from this region.
|
|
xOrRectangle
[oneway] void |
xOrRectangle( |
[in] Rectangle |
Rect ); |
- Description
- applies an exclusive-or operation with the specified rectangle
to this region.
|
|
unionRegion
[oneway] void |
unionRegion( |
[in] XRegion |
Region ); |
- Description
- adds the specified region to this region.
|
|
intersectRegion
[oneway] void |
intersectRegion( |
[in] XRegion |
Region ); |
- Description
- intersects the specified region with the current region.
|
|
excludeRegion
[oneway] void |
excludeRegion( |
[in] XRegion |
Region ); |
- Description
- removes the area of the specified region from this region.
|
|
xOrRegion
[oneway] void |
xOrRegion( |
[in] XRegion |
Region ); |
- Description
- applies an exclusive-or operation with the specified region
to this region.
|
|
getRectangles
- Description
- returns all rectangles which are making up this region.
|
|
Copyright © 2003 Sun Microsystems, Inc.