C
rect QML Value Type
a value with x, y, width and height attributes. More...
Since: | Qt Quick Ultralite 2.9 |
- rect is part of Qt Quick Ultralite QML Basic Types.
Detailed Description
The rect
type refers to a value with x
, y
, width
and height
attributes.
To create a rect
value, use the Qt.rect() function:
The rect
type also exposes read-only left
, right
, top
and bottom
attributes. These are the same as their C++ counterparts.
Available under certain Qt licenses.
Find out more.