- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Two-dimensional vector using floating point precision
Java wrapper for Qt class QLineF
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionQLineF()
SeeQLineF::
QLineF() QLineF
(double x1, double y1, double x2, double y2) SeeQLineF::
QLineF(QLineF) Overloaded constructor forQLineF(io.qt.core.QPointF, io.qt.core.QPointF)
.Overloaded constructor forQLineF(io.qt.core.QPointF, io.qt.core.QPointF)
.Overloaded constructor forQLineF(io.qt.core.QPointF, io.qt.core.QPointF)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal double
angle()
final double
Overloaded function forangle(io.qt.core.QLineF)
.final double
final double
Overloaded function forangleTo(io.qt.core.QLineF)
.final double
final QPointF
center()
clone()
Creates and returns a copy of this object.final double
dx()
final double
dy()
final boolean
Overloaded function forequals(io.qt.core.QLineF)
.final boolean
boolean
static QLineF
fromPolar
(double length, double angle) int
hashCode()
Returns the objects's hash code computed byqHash(QLineF)
.final QLineF.IntersectType
final QLineF.IntersectType
Overloaded function forintersect(io.qt.core.QLineF, io.qt.core.QPointF)
.final QLineF.IntersectType
intersects
(QLineF l, QPointF intersectionPoint) final QLineF.IntersectType
intersects
(QLine l, QPointF intersectionPoint) Overloaded function forintersects(io.qt.core.QLineF, io.qt.core.QPointF)
.final boolean
isNull()
final double
length()
final QLineF
final QPointF
p1()
final QPointF
p2()
final QPointF
pointAt
(double t) void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QLineF&) final void
setAngle
(double angle) final void
setLength
(double len) final void
setLine
(double x1, double y1, double x2, double y2) final void
Overloaded function forsetP1(io.qt.core.QPointF)
.final void
final void
Overloaded function forsetP2(io.qt.core.QPointF)
.final void
final void
Overloaded function forsetPoints(io.qt.core.QPointF, io.qt.core.QPointF)
.final void
final void
Overloaded function forsetPoints(io.qt.core.QPointF, io.qt.core.QPointF)
.final void
Overloaded function forsetPoints(io.qt.core.QPointF, io.qt.core.QPointF)
.final QLine
toLine()
toString()
Seeoperator<<(QDebug,
QLineF) final void
translate
(double dx, double dy) final void
Overloaded function fortranslate(io.qt.core.QPointF)
.final void
final QLineF
translated
(double dx, double dy) final QLineF
translated
(QPoint p) Overloaded function fortranslated(io.qt.core.QPointF)
.final QLineF
final QLineF
void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QLineF) 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
See
QLineF::
QLineF(QLineF) -
QLineF
-
QLineF
public QLineF(double x1, double y1, double x2, double y2) -
QLineF
Overloaded constructor for
QLineF(io.qt.core.QPointF, io.qt.core.QPointF)
. -
QLineF
Overloaded constructor for
QLineF(io.qt.core.QPointF, io.qt.core.QPointF)
. -
QLineF
Overloaded constructor for
QLineF(io.qt.core.QPointF, io.qt.core.QPointF)
.
-
-
Method Details
-
angle
-
angle
-
angleTo
-
center
-
dx
-
dy
-
intersect
-
intersects
-
isNull
-
length
-
normalVector
-
writeTo
See
operator<<(QDataStream&,
QLineF) -
equals
-
readFrom
See
operator>>(QDataStream&,
QLineF&) -
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.
See
QLineF::
QLineF(QLineF) -
angle
Overloaded function for
angle(io.qt.core.QLineF)
. -
angleTo
Overloaded function for
angleTo(io.qt.core.QLineF)
. -
intersect
Overloaded function for
intersect(io.qt.core.QLineF, io.qt.core.QPointF)
. -
intersects
Overloaded function for
intersects(io.qt.core.QLineF, io.qt.core.QPointF)
. -
equals
Overloaded function for
equals(io.qt.core.QLineF)
. -
setP1
Overloaded function for
setP1(io.qt.core.QPointF)
. -
setP2
Overloaded function for
setP2(io.qt.core.QPointF)
. -
setPoints
Overloaded function for
setPoints(io.qt.core.QPointF, io.qt.core.QPointF)
. -
setPoints
Overloaded function for
setPoints(io.qt.core.QPointF, io.qt.core.QPointF)
. -
setPoints
Overloaded function for
setPoints(io.qt.core.QPointF, io.qt.core.QPointF)
. -
translate
Overloaded function for
translate(io.qt.core.QPointF)
. -
translated
Overloaded function for
translated(io.qt.core.QPointF)
.
-