java.lang.Object
io.qt.QtObject
io.qt.quick.QSGMaterial
io.qt.quick.QSGFlatColorMaterial
- All Implemented Interfaces:
QtObjectInterface
Convenient way of rendering solid colored geometry in the scene graph
Java wrapper for Qt class QSGFlatColorMaterial
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.quick.QSGMaterial
QSGMaterial.Flag, QSGMaterial.Flags
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal QColor
color()
int
compare
(QSGMaterial other) 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)
.type()
Methods inherited from class io.qt.quick.QSGMaterial
flags, setFlag, setFlag
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QSGFlatColorMaterial
public QSGFlatColorMaterial()
-
-
Method Details
-
color
-
setColor
-
compare
- Overrides:
compare
in classQSGMaterial
-
createShader
- Specified by:
createShader
in classQSGMaterial
-
type
- Specified by:
type
in classQSGMaterial
-
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)
.
-