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.

© 2021 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.