java.lang.Object
io.qt.QtObject
io.qt.quick.QSGNode
io.qt.quick.QSGBasicGeometryNode
io.qt.quick.QSGGeometryNode
io.qt.quick.QSGRectangleNode
- All Implemented Interfaces:
QtObjectInterface
Convenience class for drawing solid filled rectangles using scenegraph
Java wrapper for Qt class QSGRectangleNode
- Since:
- This class was introduced in Qt 5.8.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.quick.QSGNode
QSGNode.DirtyState, QSGNode.DirtyStateBit, QSGNode.Flag, QSGNode.Flags
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract QColor
color()
abstract QRectF
rect()
final void
setColor
(Qt.GlobalColor color) Overloaded function forsetColor(io.qt.gui.QColor)
.abstract void
final void
Overloaded function forsetColor(io.qt.gui.QColor)
.final void
Overloaded function forsetColor(io.qt.gui.QColor)
.final void
setRect
(double x, double y, double w, double h) final void
Overloaded function forsetRect(io.qt.core.QRectF)
.abstract void
Methods inherited from class io.qt.quick.QSGGeometryNode
activeMaterial, inheritedOpacity, material, opaqueMaterial, renderOrder, setInheritedOpacity, setMaterial, setOpaqueMaterial, setRenderOrder, toString
Methods inherited from class io.qt.quick.QSGBasicGeometryNode
clipList, geometry, matrix, setGeometry, setRendererClipList, setRendererMatrix
Methods inherited from class io.qt.quick.QSGNode
appendChildNode, childAtIndex, childCount, clearDirty, dirtyState, firstChild, flags, insertChildNodeAfter, insertChildNodeBefore, isSubtreeBlocked, lastChild, markDirty, markDirty, nextSibling, parent, prependChildNode, preprocess, previousSibling, qsgnode_set_description, removeAllChildNodes, removeChildNode, reparentChildNodesTo, setFlag, setFlag, setFlags, setFlags
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QSGRectangleNode
public QSGRectangleNode()See
QSGRectangleNode::
QSGRectangleNode()
-
-
Method Details
-
setRect
- Parameters:
x
-y
-w
-h
-
-
color
- Returns:
-
rect
- Returns:
-
setColor
- Parameters:
color
-
-
setRect
- Parameters:
rect
-
-
setColor
Overloaded function for
setColor(io.qt.gui.QColor)
. -
setColor
Overloaded function for
setColor(io.qt.gui.QColor)
. -
setColor
Overloaded function for
setColor(io.qt.gui.QColor)
. -
setRect
Overloaded function for
setRect(io.qt.core.QRectF)
.
-