java.lang.Object
io.qt.internal.QtJambiObject
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
ModifierConstructorDescriptionQLineF()
See QLineF::QLineF()QLineF
(double x1, double y1, double x2, double y2) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal double
angle()
final double
final QPointF
center()
clone()
final double
dx()
final double
dy()
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.static QLineF
fromPolar
(double length, double angle) int
hashCode()
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()
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) -
QLineF
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
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
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
-