java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QLine
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Two-dimensional vector using integer precision
Java wrapper for Qt's class QLine
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQLine()
See QLine::QLine()QLine
(int x1, int y1, int x2, int y2) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QPoint
center()
clone()
final int
dx()
See QLine::dx()constfinal int
dy()
See QLine::dy()constboolean
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 QPoint
p1()
See QLine::p1()constfinal QPoint
p2()
See QLine::p2()constvoid
readFrom
(QDataStream arg__1) final void
setLine
(int x1, int y1, int x2, int y2) final void
final void
final void
final QLineF
toLineF()
toString()
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) final int
x1()
See QLine::x1()constfinal int
x2()
See QLine::x2()constfinal int
y1()
See QLine::y1()constfinal int
y2()
See QLine::y2()constMethods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QLine
public QLine()See QLine::QLine()
-
QLine
-
QLine
public QLine(int x1, int y1, int x2, int y2) -
QLine
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
center
-
dx
See QLine::dx()const
-
dy
See QLine::dy()const
-
isNull
-
writeTo
-
readFrom
-
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
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
-