This PaintExtents (gb.qt4/5) class represents a (rectangular) bounding box as returned by the Paint.ClipExtents property.
The PaintExtents class has these six properties of data type Float:
Property | Description |
---|---|
Height | Returns the height of the bounding box. |
Width | Returns the width of the bounding box. |
X, Y, X2, Y2 | The value pair (X/Y) represents the coordinates of the upper left point of the bounding box and the value pair (X2/Y2) those of the lower right point. |
Table 23.3.6.1.1 : Properties of the PaintExtents class
The PaintExtents class has only one method:
Function Merge ( Extents As PaintExtents ) As PaintExtents
The Merge(arg) method returns the smallest rectangle of the PaintExtents type in which the union of the two extents fits.