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
ConstructorDescriptionPoint2D()
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 boolean
equals
(QSGGeometry.Point2D value2) Seeoperator==(QSGGeometry::Point2D,
QSGGeometry::Point2D) boolean
Seeoperator==(QSGGeometry::Point2D,
QSGGeometry::Point2D) int
hashCode()
Returns the objects's hash code computed byqHash(QSGGeometry::Point2D)
.final void
set
(float nx, float ny) final void
setX
(float x) SeeQSGGeometry::Point2D::
x final void
setY
(float y) SeeQSGGeometry::Point2D::
y final float
x()
SeeQSGGeometry::Point2D::
x final float
y()
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)
-