java.lang.Object
io.qt.QtObject
io.qt.core.QPointF
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines a point in the plane using floating point precision
Java wrapper for Qt class QPointF
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal QPointF
clone()
Creates and returns a copy of this object.final QPointF
div
(double divisor) final QPointF
divide
(double c) static double
dotProduct
(QPointF p1, QPointF p2) boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QPointF)
.final boolean
isNull()
final double
final QPointF
final QPointF
multiply
(double c) final QPointF
void
readFrom
(QDataStream arg__1) final void
setX
(double x) final void
setY
(double y) final QPointF
final QPointF
times
(double c) Seeoperator*(QPointF,
qreal) final QPoint
toPoint()
toString()
Seeoperator<<(QDebug,
QPointF) final QPointF
void
writeTo
(QDataStream arg__1) final double
x()
final double
y()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QPointF
public QPointF() -
QPointF
-
QPointF
public QPointF(double xpos, double ypos)
-
-
Method Details
-
isNull
-
manhattanLength
-
times
See
operator*(QPointF,
qreal) -
multiply
-
plus
-
add
-
minus
-
subtract
-
div
-
divide
-
writeTo
-
readFrom
-
setX
-
setY
-
toPoint
-
transposed
-
x
-
y
-
dotProduct
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QPointF)
. -
toString
See
operator<<(QDebug,
QPointF) -
clone
Creates and returns a copy of this object.
-