QSGSimpleRectNode Class

The QSGSimpleRectNode class is a convenience class for drawing solid filled rectangles using scenegraph. More...

Header: #include <QSGSimpleRectNode>
qmake: QT += quick
Inherits: QSGGeometryNode

This class is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Detailed Description

Warning: This utility class is only functional when running with the default or software backends of the Qt Quick scenegraph. As an alternative, prefer using QSGRectangleNode via QQuickWindow::createRectangleNode() or QSGEngine::createRectangleNode().