ColoredPoint2D Class

(QSGGeometry::ColoredPoint2D)

The QSGGeometry::ColoredPoint2D struct is a convenience struct for accessing 2D Points with a color. More...

Header: #include <ColoredPoint2D>
qmake: QT += quick

Public Functions

void set(float nx, float ny, uchar nr, uchar ng, uchar nb, uchar na)

Public Variables

unsigned char a
unsigned char b
unsigned char g
unsigned char r
float x
float y

Detailed Description

The QSGGeometry::ColoredPoint2D struct is a convenience struct for accessing 2D Points with a color.

Member Function Documentation

void ColoredPoint2D::set(float nx, float ny, uchar nr, uchar ng, uchar nb, uchar na)