User Tools

Site Tools


k23:k23.3:k23.3.6:start

23.3.6 PaintExtents

This PaintExtents (gb.qt4/5) class represents a (rectangular) bounding box as returned by the Paint.ClipExtents property.

23.3.6.1 Properties

The PaintExtents class has these six properties of data type Float:

PropertyDescription
HeightReturns the height of the bounding box.
WidthReturns the width of the bounding box.
X, Y, X2, Y2The 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

23.3.6.2 Method

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.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.
k23/k23.3/k23.3.6/start.txt · Last modified: by 127.0.0.1