User Tools

Site Tools


Sidebar

Multimedia

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.

The website uses a temporary session cookie. This technically necessary cookie is deleted when the browser is closed. You can find information on cookies in our privacy policy.
k23/k23.3/k23.3.6/start.txt · Last modified: 07.03.2024 by emma

Page Tools