java.lang.Object
io.qt.QtObject
io.qt.quick.QSGGeometry.Point2D
- All Implemented Interfaces:
QtObjectInterface,Cloneable
- Enclosing class:
QSGGeometry
QSGGeometry::Point2D struct is a convenience struct for accessing 2D Points
Java wrapper for Qt class QSGGeometry::Point2D
-
Constructor Summary
ConstructorsConstructorDescriptionPoint2D()SeeQSGGeometry::Point2D::Point2D() Point2D(float x, float y) SeeQSGGeometry::Point2D::Point2D{float, float} Point2D(QSGGeometry.Point2D other) SeeQSGGeometry::Point2D::Point2D(QSGGeometry::Point2D) -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates and returns a copy of this object.final booleanequals(QSGGeometry.Point2D value2) Seeoperator==(QSGGeometry::Point2D,QSGGeometry::Point2D) booleanSeeoperator==(QSGGeometry::Point2D,QSGGeometry::Point2D) inthashCode()Returns the objects's hash code computed byqHash(QSGGeometry::Point2D).final voidset(float nx, float ny) final voidsetX(float x) SeeQSGGeometry::Point2D::x final voidsetY(float y) SeeQSGGeometry::Point2D::y final floatx()SeeQSGGeometry::Point2D::x final floaty()SeeQSGGeometry::Point2D::y Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
Point2D
public Point2D()See
QSGGeometry::Point2D::Point2D() -
Point2D
See
QSGGeometry::Point2D::Point2D(QSGGeometry::Point2D) - Parameters:
other-
-
Point2D
public Point2D(float x, float y) See
QSGGeometry::Point2D::Point2D{float, float} - Parameters:
x-y-
-
-
Method Details
-
equals
See
operator==(QSGGeometry::Point2D,QSGGeometry::Point2D) - Parameters:
value2-- Returns:
-
set
- Parameters:
nx-ny-
-
setX
See
QSGGeometry::Point2D::x - Parameters:
x-
-
x
See
QSGGeometry::Point2D::x - Returns:
-
setY
See
QSGGeometry::Point2D::y - Parameters:
y-
-
y
See
QSGGeometry::Point2D::y - Returns:
-
equals
See
operator==(QSGGeometry::Point2D,QSGGeometry::Point2D) -
hashCode
Returns the objects's hash code computed byqHash(QSGGeometry::Point2D). -
clone
Creates and returns a copy of this object.
See
QSGGeometry::Point2D::Point2D(QSGGeometry::Point2D)
-