|qmake:||QT += quick|
This class was introduced in Qt 5.8.
|virtual QColor||color() const = 0|
|virtual QRectF||rect() const = 0|
|virtual void||setColor(const QColor &color) = 0|
|virtual void||setRect(const QRectF &rect) = 0|
|void||setRect(qreal x, qreal y, qreal w, qreal h)|
- 4 public functions inherited from QSGGeometryNode
- 3 public functions inherited from QSGBasicGeometryNode
- 20 public functions inherited from QSGNode
Member Function Documentation
[pure virtual] QColor QSGRectangleNode::color() const
Returns the color of this rectangle.
See also setColor().
[pure virtual] QRectF QSGRectangleNode::rect() const
Returns the rectangle that this rect node covers.
See also setRect().
[pure virtual] void QSGRectangleNode::setColor(const QColor &color)
Sets the color of this rectangle to color. The default color will be white.
See also color().
[pure virtual] void QSGRectangleNode::setRect(const QRectF &rect)
Sets the rectangle of this rect node to rect.
See also rect().
This is an overloaded function.
Sets the rectangle of this rect node to begin at (x, y) and have width w and height h.
© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.