Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

com :: sun :: star :: awt ::

interface XRegion

Base Interface
com::sun::star::uno::XInterface

Description
manages multiple rectangles which make up a region.


Methods' Summary

getBounds
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

Methods' Details

getBounds
 
com::sun::star::awt::Rectangle
getBounds();
Returns
the bounding box of the shape.
clear
 
[ oneway ] void
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 ] com::sun::star::awt::Rectangle Rect );

Description
adds the specified rectangle to this region.
intersectRectangle
 
[ oneway ] void
intersectRectangle(
[ in ] com::sun::star::awt::Rectangle Region );

Description
intersects the specified rectangle with the current region.
excludeRectangle
 
[ oneway ] void
excludeRectangle(
[ in ] com::sun::star::awt::Rectangle Rect );

Description
removes the area of the specified rectangle from this region.
xOrRectangle
 
[ oneway ] void
xOrRectangle(
[ in ] com::sun::star::awt::Rectangle Rect );

Description
applies an exclusive-or operation with the specified rectangle to this region.
unionRegion
 
[ oneway ] void
unionRegion(
[ in ] com::sun::star::awt::XRegion Region );

Description
adds the specified region to this region.
intersectRegion
 
[ oneway ] void
intersectRegion(
[ in ] com::sun::star::awt::XRegion Region );

Description
intersects the specified region with the current region.
excludeRegion
 
[ oneway ] void
excludeRegion(
[ in ] com::sun::star::awt::XRegion Region );

Description
removes the area of the specified region from this region.
xOrRegion
 
[ oneway ] void
xOrRegion(
[ in ] com::sun::star::awt::XRegion Region );

Description
applies an exclusive-or operation with the specified region to this region.
getRectangles
 
sequence< com::sun::star::awt::Rectangle >
getRectangles();
Returns
all rectangles which are making up this region.

Top of Page