comp
•
gb.qt4
•
rect
ar
ca
cs
de
en
eo
es
fa
fr
hu
id
it
ja
ko
mk
nl
pl
pt
pt_BR
ru
sq
tr
vi
zh
zh_TW
Rect (gb.qt4)
This class represents a rectangle with integer coordinates.
This class is
Create a new rectangle.
creatable
.
This class can be used as a
Create a new rectangle.
static function
.
Static methods
Stretch
Properties
Methods
Return or set the position of the bottom border of the rectangle.
Bottom
Return or set the height of the rectangle.
H
Return or set the height of the rectangle.
Height
Return or set the position of the left border of the rectangle.
Left
Return or set position of the right border of the rectangle.
Right
Return or set the position of the top border of the rectangle.
Top
Return or set the width of the rectangle.
W
Return or set the width of the rectangle.
Width
Return or set the X coordinate of the rectangle.
X
Return or set the Y coordinate of the rectangle.
Y
Shrink or expand the rectangle.
Adjust
Return the center of the rectangle.
Center
Clear the rectangle, i.e. make it void.
Clear
Return if the specified point is included in the rectangle.
Contains
Return a copy of the rectangle.
Copy
Return the intersection between the rectangle and
Rect
.
Intersection
Return if the rectangle is void.
IsVoid
Move and optionally resize the rectangle.
Move
Resize the rectangle.
Resize
Translate the rectangle.
Translate
Return the bounding rectangle of the current rectangle and
Rect
.
Union