Class QPoint
java.lang.Object
io.qt.QtObject
io.qt.core.QPoint
- All Implemented Interfaces:
QtObjectInterface,Cloneable
-
Constructor Summary
ConstructorsConstructorDescriptionQPoint()SeeQPoint::QPoint() QPoint(int xpos, int ypos) SeeQPoint::QPoint(QPoint) -
Method Summary
Modifier and TypeMethodDescriptionfinal QPointclone()Creates and returns a copy of this object.final QPointdiv(double c) final QPointdivide(double divisor) static intdotProduct(QPoint p1, QPoint p2) final booleanbooleaninthashCode()Returns the objects's hash code computed byqHash(QPoint).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) Seeoperator*(QPoint,double) final QPointtimes(float factor) Seeoperator*(QPoint,float) final QPointtimes(int factor) Seeoperator*(QPoint,int) final QPointFtoPointF()toString()Seeoperator<<(QDebug,QPoint) final QPointfinal QPointSeeoperator-(QPoint)final QPointSeeoperator+(QPoint)voidwriteTo(QDataStream arg__1) final intx()SeeQPoint::x()const final inty()SeeQPoint::y()const Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QPoint
public QPoint()See
QPoint::QPoint() -
QPoint
-
QPoint
-
-
Method Details
-
isNull
-
manhattanLength
-
times
See
operator*(QPoint,double) - Parameters:
factor-- Returns:
-
times
See
operator*(QPoint,float) - Parameters:
factor-- Returns:
-
times
See
operator*(QPoint,int) - Parameters:
factor-- Returns:
-
multiply
See
QPoint::operator*=(double) This member function returns the object itself.
- Parameters:
factor-- Returns:
- this
-
multiply
This member function returns the object itself.
- Parameters:
factor-- Returns:
- this
-
multiply
This member function returns the object itself.
- Parameters:
factor-- Returns:
- this
-
unaryPlus
-
plus
- Parameters:
p2-- Returns:
-
add
See
QPoint::operator+=(QPoint) This member function returns the object itself.
- Parameters:
p-- Returns:
- this
-
unaryMinus
-
minus
- Parameters:
p2-- Returns:
-
subtract
See
QPoint::operator-=(QPoint) This member function returns the object itself.
- Parameters:
p-- Returns:
- this
-
div
- Parameters:
c-- Returns:
-
divide
This member function returns the object itself.
- Parameters:
divisor-- Returns:
- this
-
writeTo
- Parameters:
arg__1-
-
equals
- Parameters:
rhs-- Returns:
-
readFrom
- Parameters:
arg__1-
-
setX
-
setY
-
toPointF
- Returns:
- Since:
- This function was introduced in Qt 6.4.
-
transposed
-
x
-
y
-
dotProduct
- Parameters:
p1-p2-- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QPoint). -
toString
See
operator<<(QDebug,QPoint) -
clone
Creates and returns a copy of this object.
See
QPoint::QPoint(QPoint)
-