LibreOffice
LibreOffice 24.2 SDK API Reference
|
manages multiple rectangles which make up a region. More...
import"XRegion.idl";
Public Member Functions | |
Rectangle | getBounds () |
returns the bounding box of the shape. More... | |
void | clear () |
makes this region an empty region. More... | |
void | move ([in] long nHorzMove, [in] long nVertMove) |
moves this region by the specified horizontal and vertical delta. More... | |
void | unionRectangle ([in] Rectangle Rect) |
adds the specified rectangle to this region. More... | |
void | intersectRectangle ([in] Rectangle Region) |
intersects the specified rectangle with the current region. More... | |
void | excludeRectangle ([in] Rectangle Rect) |
removes the area of the specified rectangle from this region. More... | |
void | xOrRectangle ([in] Rectangle Rect) |
applies an exclusive-or operation with the specified rectangle to this region. More... | |
void | unionRegion ([in] XRegion Region) |
adds the specified region to this region. More... | |
void | intersectRegion ([in] XRegion Region) |
intersects the specified region with the current region. More... | |
void | excludeRegion ([in] XRegion Region) |
removes the area of the specified region from this region. More... | |
void | xOrRegion ([in] XRegion Region) |
applies an exclusive-or operation with the specified region to this region. More... | |
sequence< Rectangle > | getRectangles () |
returns all rectangles which are making up this region. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
manages multiple rectangles which make up a region.
void clear | ( | ) |
makes this region an empty region.
void excludeRectangle | ( | [in] Rectangle | Rect | ) |
removes the area of the specified rectangle from this region.
void excludeRegion | ( | [in] XRegion | Region | ) |
removes the area of the specified region from this region.
Rectangle getBounds | ( | ) |
returns the bounding box of the shape.
sequence<Rectangle> getRectangles | ( | ) |
returns all rectangles which are making up this region.
void intersectRectangle | ( | [in] Rectangle | Region | ) |
intersects the specified rectangle with the current region.
void intersectRegion | ( | [in] XRegion | Region | ) |
intersects the specified region with the current region.
void move | ( | [in] long | nHorzMove, |
[in] long | nVertMove | ||
) |
moves this region by the specified horizontal and vertical delta.
void unionRectangle | ( | [in] Rectangle | Rect | ) |
adds the specified rectangle to this region.
void unionRegion | ( | [in] XRegion | Region | ) |
adds the specified region to this region.
void xOrRectangle | ( | [in] Rectangle | Rect | ) |
applies an exclusive-or operation with the specified rectangle to this region.
void xOrRegion | ( | [in] XRegion | Region | ) |
applies an exclusive-or operation with the specified region to this region.