java.lang.Object
io.qt.internal.NativeUtility.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's class QSGGeometry::Point2D
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.int
hashCode()
final void
set
(float nx, float ny) final void
setX
(float x) final void
setY
(float y) final float
x()
final float
y()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
Point2D
public Point2D() -
Point2D
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
setX
-
x
-
setY
-
y
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-