QSGRectangleNode Class
The QSGRectangleNode class is a convenience class for drawing solid filled rectangles using scenegraph. More...
| Header: | #include <QSGRectangleNode> |
| qmake: | QT += quick |
| Since: | Qt 5.8 |
| Inherits: | QSGGeometryNode |
Public Functions
| virtual | ~QSGRectangleNode() override |
| 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) |
- 6 public functions inherited from QSGGeometryNode
- 7 public functions inherited from QSGBasicGeometryNode
- 22 public functions inherited from QSGNode
Detailed Description
The QSGRectangleNode class is a convenience class for drawing solid filled rectangles using scenegraph.
Member Function Documentation
[override virtual] QSGRectangleNode::~QSGRectangleNode()
Destroys the instance of QSGRectangleNode. The destructor is virtual.
[pure virtual] QColor QSGRectangleNode::color() const
See also setColor().
[pure virtual] QRectF QSGRectangleNode::rect() const
See also setRect().
[pure virtual] void QSGRectangleNode::setColor(const QColor &color)
See also color().
[pure virtual] void QSGRectangleNode::setRect(const QRectF &rect)
See also rect().