setRect(x, y, w, h)
- class PySide6.QtQuick.QSGRectangleNode¶
Returns the color of this rectangle.
Returns the rectangle that this rect node covers.
Sets the color of this rectangle to
color. The default color will be white.
Sets the rectangle of this rect node to
- PySide6.QtQuick.QSGRectangleNode.setRect(x, y, w, h)
x – float
y – float
w – float
h – float
This is an overloaded function.
Sets the rectangle of this rect node to begin at (
y) and have width
w and height
© 2021 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.