java.lang.Object
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal QPoint
clone()
Creates and returns a copy of this object.final QPoint
div
(double c) Seeoperator/(QPoint,
qreal) final QPoint
divide
(double divisor) static int
dotProduct
(QPoint p1, QPoint p2) final boolean
Seeoperator==(QPoint,
QPoint) boolean
Seeoperator==(QPoint,
QPoint) int
hashCode()
Returns the objects's hash code computed byqHash(QPoint)
.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) Seeoperator>>(QDataStream&,
QPoint&) final void
setX
(int x) final void
setY
(int y) final QPoint
final QPoint
times
(double factor) Seeoperator*(QPoint,
double) final QPoint
times
(float factor) Seeoperator*(QPoint,
float) final QPoint
times
(int factor) Seeoperator*(QPoint,
int) toString()
Seeoperator<<(QDebug,
QPoint) final QPoint
final QPoint
Seeoperator-(QPoint)
final QPoint
Seeoperator+(QPoint)
void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QPoint) final int
x()
SeeQPoint::
x()const final int
y()
SeeQPoint::
y()const Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QPoint
public QPoint()See
QPoint::
QPoint() -
QPoint
public QPoint(int xpos, int ypos)
-
-
Method Details
-
isNull
-
manhattanLength
-
times
See
operator*(QPoint,
double) -
times
See
operator*(QPoint,
float) -
times
See
operator*(QPoint,
int) -
multiply
-
multiply
-
multiply
-
unaryPlus
See
operator+(QPoint)
-
plus
-
add
-
unaryMinus
See
operator-(QPoint)
-
minus
-
subtract
-
div
See
operator/(QPoint,
qreal) -
divide
-
writeTo
See
operator<<(QDataStream&,
QPoint) -
equals
See
operator==(QPoint,
QPoint) -
readFrom
See
operator>>(QDataStream&,
QPoint&) -
setX
-
setY
-
transposed
-
x
See
QPoint::
x()const -
y
See
QPoint::
y()const -
dotProduct
-
equals
See
operator==(QPoint,
QPoint) -
hashCode
Returns the objects's hash code computed byqHash(QPoint)
. -
toString
See
operator<<(QDebug,
QPoint) -
clone
Creates and returns a copy of this object.
-