java.lang.Object
io.qt.QtObject
io.qt.core.QLineF
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Two-dimensional vector using floating point precision
Java wrapper for Qt class QLineF
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionQLineF()
SeeQLineF::
QLineF() QLineF
(double x1, double y1, double x2, double y2) -
Method Summary
Modifier and TypeMethodDescriptionfinal double
angle()
final double
final QPointF
center()
clone()
Creates and returns a copy of this object.final double
dx()
final double
dy()
boolean
static QLineF
fromPolar
(double length, double angle) int
hashCode()
Returns the objects's hash code computed byqHash(QLineF)
.final QLineF.IntersectionType
intersects
(QLineF l) Overloaded function forintersects(io.qt.core.QLineF, io.qt.core.QPointF)
withintersectionPoint = null
.final QLineF.IntersectionType
intersects
(QLineF l, QPointF intersectionPoint) final boolean
isNull()
final double
length()
final QLineF
final QPointF
p1()
final QPointF
p2()
final QPointF
pointAt
(double t) void
readFrom
(QDataStream arg__1) final void
setAngle
(double angle) final void
setLength
(double len) final void
setLine
(double x1, double y1, double x2, double y2) final void
final void
final void
final QLine
toLine()
toString()
Seeoperator<<(QDebug,
QLineF) final void
translate
(double dx, double dy) final void
final QLineF
translated
(double dx, double dy) final QLineF
final QLineF
void
writeTo
(QDataStream arg__1) final double
x1()
final double
x2()
final double
y1()
final double
y2()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QLineF
public QLineF()See
QLineF::
QLineF() -
QLineF
-
QLineF
-
QLineF
public QLineF(double x1, double y1, double x2, double y2)
-
-
Method Details
-
angle
-
angleTo
-
center
-
dx
-
dy
-
intersects
Overloaded function for
intersects(io.qt.core.QLineF, io.qt.core.QPointF)
withintersectionPoint = null
. -
intersects
-
isNull
-
length
-
normalVector
-
writeTo
-
readFrom
-
p1
-
p2
-
pointAt
-
setAngle
-
setLength
-
setLine
-
setP1
-
setP2
-
setPoints
-
toLine
-
translate
-
translate
-
translated
-
translated
-
unitVector
-
x1
-
x2
-
y1
-
y2
-
fromPolar
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QLineF)
. -
toString
See
operator<<(QDebug,
QLineF) -
clone
Creates and returns a copy of this object.
-