ColoredPoint2D Struct
Struct ColoredPoint2D is declared in class QSGGeometry.The QSGGeometry::ColoredPoint2D struct is a convenience struct for accessing 2D Points with a color. More...
Public Functions
void | set(float x, float y, uchar red, uchar green, uchar blue, uchar alpha) |
Detailed Description
Member Function Documentation
void ColoredPoint2D::set(float x, float y, uchar red, uchar green, uchar blue, uchar alpha)
Sets the position of the vertex to x and y and the color to red, green, blue, and alpha.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.14/qsggeometry-coloredpoint2d.html