Point2D Class | Qt Quick 5.9

Qt 5.9 | Qt Quick | C++ Classes | Point2D

Qt 5.9.4 Reference Documentation

# Point2D Class

(QSGGeometry::Point2D)

The QSGGeometry::Point2D struct is a convenience struct for accessing 2D Points. More...

Header: | #include <Point2D>
qmake: | QT += quick

- List of all members, including inherited members

## Public Functions

void | set(float x, float y)

## Detailed Description

The QSGGeometry::Point2D struct is a convenience struct for accessing 2D Points.

## Member Function Documentation

### void Point2D::set(float x, float y)

Sets the x and y values of this point to x and y.