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

Detailed Description¶
-
class
PySide2.QtQuick.QSGGeometry.
Point2D
¶ PySide2.QtQuick.QSGGeometry.Point2D(Point2D)
- Parameters
Point2D –
Point2D
-
PySide2.QtQuick.QSGGeometry.Point2D.
x
¶
-
PySide2.QtQuick.QSGGeometry.Point2D.
y
¶
-
PySide2.QtQuick.QSGGeometry.Point2D.
set
(nx, ny)¶ - Parameters
nx –
float
ny –
float
Sets the x and y values of this point to
x
andy
.