- All Implemented Interfaces:
QtObjectInterface
Convenience class for drawing solid filled rectangles using scenegraph
Java wrapper for Qt class QSGSimpleRectNode
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.quick.QSGNode
QSGNode.DirtyState, QSGNode.DirtyStateBit, QSGNode.Flag, QSGNode.Flags
-
Constructor Summary
ConstructorDescriptionQSGSimpleRectNode
(QRectF rect, Qt.GlobalColor color) Overloaded constructor forQSGSimpleRectNode(io.qt.core.QRectF, io.qt.gui.QColor)
.QSGSimpleRectNode
(QRectF rect, QColor color) QSGSimpleRectNode
(QRectF rect, QRgba64 color) Overloaded constructor forQSGSimpleRectNode(io.qt.core.QRectF, io.qt.gui.QColor)
.QSGSimpleRectNode
(QRectF rect, String color) Overloaded constructor forQSGSimpleRectNode(io.qt.core.QRectF, io.qt.gui.QColor)
.QSGSimpleRectNode
(QRect rect, Qt.GlobalColor color) Overloaded constructor forQSGSimpleRectNode(io.qt.core.QRectF, io.qt.gui.QColor)
.QSGSimpleRectNode
(QRect rect, QColor color) Overloaded constructor forQSGSimpleRectNode(io.qt.core.QRectF, io.qt.gui.QColor)
.QSGSimpleRectNode
(QRect rect, QRgba64 color) Overloaded constructor forQSGSimpleRectNode(io.qt.core.QRectF, io.qt.gui.QColor)
.QSGSimpleRectNode
(QRect rect, String color) Overloaded constructor forQSGSimpleRectNode(io.qt.core.QRectF, io.qt.gui.QColor)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal QColor
color()
final QRectF
rect()
final void
setColor
(Qt.GlobalColor color) Overloaded function forsetColor(io.qt.gui.QColor)
.final 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)
.final 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
-
QSGSimpleRectNode
public QSGSimpleRectNode() -
QSGSimpleRectNode
- Parameters:
rect
-color
-
-
QSGSimpleRectNode
Overloaded constructor for
QSGSimpleRectNode(io.qt.core.QRectF, io.qt.gui.QColor)
. -
QSGSimpleRectNode
Overloaded constructor for
QSGSimpleRectNode(io.qt.core.QRectF, io.qt.gui.QColor)
. -
QSGSimpleRectNode
Overloaded constructor for
QSGSimpleRectNode(io.qt.core.QRectF, io.qt.gui.QColor)
. -
QSGSimpleRectNode
Overloaded constructor for
QSGSimpleRectNode(io.qt.core.QRectF, io.qt.gui.QColor)
. -
QSGSimpleRectNode
Overloaded constructor for
QSGSimpleRectNode(io.qt.core.QRectF, io.qt.gui.QColor)
. -
QSGSimpleRectNode
Overloaded constructor for
QSGSimpleRectNode(io.qt.core.QRectF, io.qt.gui.QColor)
. -
QSGSimpleRectNode
Overloaded constructor for
QSGSimpleRectNode(io.qt.core.QRectF, io.qt.gui.QColor)
.
-
-
Method Details
-
color
- Returns:
-
rect
- Returns:
-
setColor
- Parameters:
color
-
-
setRect
- Parameters:
rect
-
-
setRect
- Parameters:
x
-y
-w
-h
-
-
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)
.
-