java.lang.Object
io.qt.internal.NativeUtility.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's 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()
final QPointF
div
(double divisor) final QPointF
divide
(double c) static double
dotProduct
(QPointF p1, QPointF p2) 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 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) final QPoint
toPoint()
toString()
final QPointF
final 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) -
QPointF
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
isNull
-
manhattanLength
-
times
-
multiply
-
unaryPlus
-
plus
-
add
-
unaryMinus
-
minus
-
subtract
-
div
-
divide
-
writeTo
-
readFrom
-
setX
-
setY
-
toPoint
-
transposed
-
x
-
y
-
dotProduct
-
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
-
toString
-
clone
-