java.lang.Object
io.qt.QtObject
io.qt.core.QLine
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Two-dimensional vector using integer precision
Java wrapper for Qt class QLine
-
Constructor Summary
ConstructorDescriptionQLine()
SeeQLine::
QLine() QLine
(int x1, int y1, int x2, int y2) SeeQLine::
QLine(QLine) -
Method Summary
Modifier and TypeMethodDescriptionfinal QPoint
center()
clone()
Creates and returns a copy of this object.final int
dx()
SeeQLine::
dx()const final int
dy()
SeeQLine::
dy()const final boolean
boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QLine)
.final boolean
isNull()
final QPoint
p1()
SeeQLine::
p1()const final QPoint
p2()
SeeQLine::
p2()const void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QLine&) final void
setLine
(int x1, int y1, int x2, int y2) final void
final void
final void
final QLineF
toLineF()
toString()
Seeoperator<<(QDebug,
QLine) final void
translate
(int dx, int dy) final void
final QLine
translated
(int dx, int dy) final QLine
translated
(QPoint p) void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QLine) final int
x1()
SeeQLine::
x1()const final int
x2()
SeeQLine::
x2()const final int
y1()
SeeQLine::
y1()const final int
y2()
SeeQLine::
y2()const Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QLine
public QLine()See
QLine::
QLine() -
QLine
See
QLine::
QLine(QLine) -
QLine
-
QLine
public QLine(int x1, int y1, int x2, int y2)
-
-
Method Details
-
center
-
dx
See
QLine::
dx()const -
dy
See
QLine::
dy()const -
isNull
-
writeTo
See
operator<<(QDataStream&,
QLine) -
equals
-
readFrom
See
operator>>(QDataStream&,
QLine&) -
p1
See
QLine::
p1()const -
p2
See
QLine::
p2()const -
setLine
-
setP1
-
setP2
-
setPoints
-
toLineF
-
translate
-
translate
-
translated
-
translated
-
x1
See
QLine::
x1()const -
x2
See
QLine::
x2()const -
y1
See
QLine::
y1()const -
y2
See
QLine::
y2()const -
equals
-
hashCode
Returns the objects's hash code computed byqHash(QLine)
. -
toString
See
operator<<(QDebug,
QLine) -
clone
Creates and returns a copy of this object.
See
QLine::
QLine(QLine)
-