LibreOffice
LibreOffice 25.8 SDK API Reference
Loading...
Searching...
No Matches
XRegion Interface Referencepublished

manages multiple rectangles which make up a region. More...

import "XRegion.idl";

Inheritance diagram for XRegion:
XInterface

Public Member Functions

Rectangle getBounds ()
 returns the bounding box of the shape.
void clear ()
 makes this region an empty 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 intersectRectangle ([in] Rectangle Region)
 intersects the specified rectangle with the current region.
void excludeRectangle ([in] Rectangle Rect)
 removes the area of the specified rectangle from this region.
void xOrRectangle ([in] Rectangle Rect)
 applies an exclusive-or operation with the specified rectangle to this region.
void unionRegion ([in] XRegion Region)
 adds the specified region to this region.
void intersectRegion ([in] XRegion Region)
 intersects the specified region with the current region.
void excludeRegion ([in] XRegion Region)
 removes the area of the specified region from this region.
void xOrRegion ([in] XRegion Region)
 applies an exclusive-or operation with the specified region to this region.
sequence< RectanglegetRectangles ()
 returns all rectangles which are making up this region.
Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object.
void acquire ()
 increases the reference counter by one.
void release ()
 decreases the reference counter by one.

Detailed Description

manages multiple rectangles which make up a region.

Member Function Documentation

◆ clear()

void clear ( )

makes this region an empty region.

◆ excludeRectangle()

void excludeRectangle ( [in] Rectangle Rect)

removes the area of the specified rectangle from this region.

◆ excludeRegion()

void excludeRegion ( [in] XRegion Region)

removes the area of the specified region from this region.

◆ getBounds()

Rectangle getBounds ( )

returns the bounding box of the shape.

◆ getRectangles()

sequence< Rectangle > getRectangles ( )

returns all rectangles which are making up this region.

◆ intersectRectangle()

void intersectRectangle ( [in] Rectangle Region)

intersects the specified rectangle with the current region.

◆ intersectRegion()

void intersectRegion ( [in] XRegion Region)

intersects the specified region with the current region.

◆ move()

void move ( [in] long nHorzMove,
[in] long nVertMove )

moves this region by the specified horizontal and vertical delta.

◆ unionRectangle()

void unionRectangle ( [in] Rectangle Rect)

adds the specified rectangle to this region.

◆ unionRegion()

void unionRegion ( [in] XRegion Region)

adds the specified region to this region.

◆ xOrRectangle()

void xOrRectangle ( [in] Rectangle Rect)

applies an exclusive-or operation with the specified rectangle to this region.

◆ xOrRegion()

void xOrRegion ( [in] XRegion Region)

applies an exclusive-or operation with the specified region to this region.


The documentation for this interface was generated from the following file: