PySide6.QtQuick.QSGGeometry.Point2D¶
- class Point2D¶
Synopsis¶
Methods¶
def
set()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
- PySide6.QtQuick.QSGGeometry.Point2D.x¶
- PySide6.QtQuick.QSGGeometry.Point2D.y¶
- set(nx, ny)¶
- Parameters:
nx – float
ny – float
Sets the x and y values of this point to
x
andy
.