QSGGeometry.Point2D

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

Inheritance diagram of PySide2.QtQuick.QSGGeometry.Point2D

Synopsis

Functions

  • def set (nx, ny)

Detailed Description

class PySide2.QtQuick.QSGGeometry.Point2D

PySide2.QtQuick.QSGGeometry.Point2D(Point2D)

Parameters

Point2DPoint2D

PySide2.QtQuick.QSGGeometry.Point2D.x
PySide2.QtQuick.QSGGeometry.Point2D.y
PySide2.QtQuick.QSGGeometry.Point2D.set(nx, ny)
Parameters
  • nxfloat

  • nyfloat

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