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) createShader
(QSGRendererInterface.RenderMode renderMode) 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
- Returns:
-
setColor
- Parameters:
color
-
-
compare
- Overrides:
compare
in classQSGMaterial
- Parameters:
other
-- Returns:
-
createShader
- Specified by:
createShader
in classQSGMaterial
- Parameters:
renderMode
-- Returns:
-
type
- Specified by:
type
in classQSGMaterial
- Returns:
-
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)
.
-