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 class QPoint
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQPoint()See QPoint::QPoint()QPoint(int xpos, int ypos) protectedConstructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QPointclone()final QPointdiv(double c) final QPointdivide(double divisor) static intdotProduct(QPoint p1, QPoint p2) booleanUsed to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.inthashCode()final booleanisNull()final intfinal QPointfinal QPointmultiply(double factor) final QPointmultiply(float factor) final QPointmultiply(int factor) final QPointvoidreadFrom(QDataStream arg__1) final voidsetX(int x) final voidsetY(int y) final QPointfinal QPointtimes(double factor) final QPointtimes(float factor) final QPointtimes(int factor) toString()final QPointfinal QPointfinal QPointvoidwriteTo(QDataStream arg__1) final intx()See QPoint::x()constfinal inty()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:QtObjectUsed 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
-