java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QPoint
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines a point in the plane using integer precision
Java wrapper for Qt's class QPoint
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQPoint()
See QPoint::QPoint()QPoint
(int xpos, int ypos) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QPoint
clone()
final QPoint
div
(double c) final QPoint
divide
(double divisor) static int
dotProduct
(QPoint p1, QPoint p2) boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
final boolean
isNull()
final int
final QPoint
final QPoint
multiply
(double factor) final QPoint
multiply
(float factor) final QPoint
multiply
(int factor) final QPoint
void
readFrom
(QDataStream arg__1) final void
setX
(int x) final void
setY
(int y) final QPoint
final QPoint
times
(double factor) final QPoint
times
(float factor) final QPoint
times
(int factor) toString()
final QPoint
final QPoint
final QPoint
void
writeTo
(QDataStream arg__1) final int
x()
See QPoint::x()constfinal int
y()
See QPoint::y()constMethods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QPoint
public QPoint()See QPoint::QPoint()
-
QPoint
public QPoint(int xpos, int ypos) -
QPoint
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
isNull
-
manhattanLength
-
times
-
times
-
times
-
multiply
-
multiply
-
multiply
-
unaryPlus
-
plus
-
add
-
unaryMinus
-
minus
-
subtract
-
div
-
divide
-
writeTo
-
readFrom
-
setX
-
setY
-
transposed
-
x
See QPoint::x()const
-
y
See QPoint::y()const
-
dotProduct
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-