Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: awt ::
interface XRegion
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XRegion
Description manages multiple rectangles which make up a region.

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
Rectangle getBounds(); |  |
Description returns the bounding box of the shape.
clear
[oneway] void clear(); |  |
Description makes this region an empty region.
move
[oneway] void move( | [in] long [in] long | nHorzMove, 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
sequence< Rectangle > getRectangles(); |  |
Description returns all rectangles which are making up this region.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.