QSGGeometry.ColoredPoint2D¶
The
ColoredPoint2D
struct is a convenience struct for accessing 2D Points with a color. More…
Detailed Description¶
-
class
PySide2.QtQuick.QSGGeometry.
ColoredPoint2D
¶ PySide2.QtQuick.QSGGeometry.ColoredPoint2D(ColoredPoint2D)
- Parameters
ColoredPoint2D –
ColoredPoint2D
-
PySide2.QtQuick.QSGGeometry.ColoredPoint2D.
x
¶
-
PySide2.QtQuick.QSGGeometry.ColoredPoint2D.
y
¶
-
PySide2.QtQuick.QSGGeometry.ColoredPoint2D.
r
¶
-
PySide2.QtQuick.QSGGeometry.ColoredPoint2D.
g
¶
-
PySide2.QtQuick.QSGGeometry.ColoredPoint2D.
b
¶
-
PySide2.QtQuick.QSGGeometry.ColoredPoint2D.
a
¶
-
PySide2.QtQuick.QSGGeometry.ColoredPoint2D.
set
(nx, ny, nr, ng, nb, na)¶ - Parameters
nx –
float
ny –
float
nr –
uchar
ng –
uchar
nb –
uchar
na –
uchar
Sets the position of the vertex to
x
andy
and the color tored
,green
,blue
, andalpha
.
© 2018 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.