Point2D Class

(QSGGeometry::Point2D)

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

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

Public Functions

void set(float x, float y)

Public Variables

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.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qsggeometry-point2d.html