- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Specifies 2D transformations of a coordinate system
Java wrapper for Qt class QTransform
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQTransform::TransformationType
-
Constructor Summary
ConstructorDescriptionQTransform
(double h11, double h12, double h21, double h22, double dx, double dy) QTransform
(double h11, double h12, double h13, double h21, double h22, double h23, double h31, double h32) Overloaded constructor forQTransform(double, double, double, double, double, double, double, double, double)
withh33 = 1.0
.QTransform
(double h11, double h12, double h13, double h21, double h22, double h23, double h31, double h32, double h33) QTransform
(QTransform other) SeeQTransform::
QTransform(QTransform) -
Method Summary
Modifier and TypeMethodDescriptionfinal QTransform
add
(double div) final QTransform
adjoint()
final void
assign
(QTransform arg__1) clone()
Creates and returns a copy of this object.final double
det()
final double
final QTransform
div
(double n) Seeoperator/(QTransform,
qreal) final QTransform
divide
(double div) final double
dx()
final double
dy()
final boolean
equals
(QTransform arg__1) boolean
static QTransform
fromScale
(double dx, double dy) static QTransform
fromTranslate
(double dx, double dy) int
hashCode()
Returns the objects's hash code computed byqHash(QTransform)
.final QTransform
inverted()
final boolean
isAffine()
final boolean
final boolean
final boolean
final boolean
final boolean
final double
m11()
final double
m12()
final double
m13()
final double
m21()
final double
m22()
final double
m23()
final double
m31()
final double
m32()
final double
m33()
final QLine
final QLineF
final QPoint
final QPointF
final QRegion
Overloaded function formap(io.qt.gui.QRegion)
.final QRegion
Overloaded function formap(io.qt.gui.QRegion)
.final QPainterPath
map
(QPainterPath p) final QPolygon
final QPolygonF
final QRegion
final QRect
final QRectF
final QPolygon
final QTransform
minus
(double n) Seeoperator-(QTransform,
qreal) final QTransform
final QTransform
multiply
(double div) final QTransform
multiply
(QTransform arg__1) final QTransform
plus
(double n) Seeoperator+(QTransform,
qreal) static boolean
qFuzzyCompare
(QTransform t1, QTransform t2) static QTransform
quadToQuad
(QPolygonF one, QPolygonF two) static boolean
quadToQuad
(QPolygonF one, QPolygonF two, QTransform result) static QTransform
quadToSquare
(QPolygonF quad) static boolean
quadToSquare
(QPolygonF quad, QTransform result) void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QTransform&) final void
reset()
final QTransform
rotate
(double a) Overloaded function forrotate(double, io.qt.core.Qt.Axis)
withaxis = io.qt.core.Qt.Axis.ZAxis
.final QTransform
final QTransform
rotateRadians
(double a) Overloaded function forrotateRadians(double, io.qt.core.Qt.Axis)
withaxis = io.qt.core.Qt.Axis.ZAxis
.final QTransform
rotateRadians
(double a, Qt.Axis axis) final QTransform
scale
(double sx, double sy) final void
setMatrix
(double m11, double m12, double m13, double m21, double m22, double m23, double m31, double m32, double m33) final QTransform
shear
(double sh, double sv) static QTransform
squareToQuad
(QPolygonF square) static boolean
squareToQuad
(QPolygonF square, QTransform result) final QTransform
subtract
(double div) final QTransform
times
(double n) toString()
Seeoperator<<(QDebug,
QTransform) final QTransform
translate
(double dx, double dy) final QTransform
type()
void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QTransform) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QTransform
public QTransform() -
QTransform
See
QTransform::
QTransform(QTransform) -
QTransform
public QTransform(double h11, double h12, double h21, double h22, double dx, double dy) -
QTransform
public QTransform(double h11, double h12, double h13, double h21, double h22, double h23, double h31, double h32, double h33) -
QTransform
public QTransform(double h11, double h12, double h13, double h21, double h22, double h23, double h31, double h32) Overloaded constructor for
QTransform(double, double, double, double, double, double, double, double, double)
withh33 = 1.0
.
-
-
Method Details
-
adjoint
-
det
-
determinant
-
dx
-
dy
-
inverted
-
isAffine
-
isIdentity
-
isInvertible
-
isRotating
-
isScaling
-
isTranslating
-
m11
-
m12
-
m13
-
m21
-
m22
-
m23
-
m31
-
m32
-
m33
-
map
-
map
-
map
-
map
-
map
-
map
-
map
-
map
-
mapRect
-
mapRect
-
mapToPolygon
-
multiplied
-
times
-
multiply
-
multiply
-
plus
See
operator+(QTransform,
qreal) -
add
-
minus
See
operator-(QTransform,
qreal) -
subtract
-
div
See
operator/(QTransform,
qreal) -
divide
-
writeTo
See
operator<<(QDataStream&,
QTransform) -
assign
-
equals
-
readFrom
See
operator>>(QDataStream&,
QTransform&) -
reset
-
rotate
-
rotateRadians
-
scale
-
setMatrix
@QtUninvokable public final void setMatrix(double m11, double m12, double m13, double m21, double m22, double m23, double m31, double m32, double m33) -
shear
-
translate
-
transposed
-
type
-
fromScale
-
fromTranslate
-
qFuzzyCompare
-
quadToQuad
-
quadToSquare
-
squareToQuad
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QTransform)
. -
squareToQuad
- See Also:
-
quadToSquare
- See Also:
-
quadToQuad
- See Also:
-
toString
See
operator<<(QDebug,
QTransform) -
clone
Creates and returns a copy of this object.
-
map
Overloaded function for
map(io.qt.gui.QRegion)
. -
map
Overloaded function for
map(io.qt.gui.QRegion)
. -
rotate
Overloaded function for
rotate(double, io.qt.core.Qt.Axis)
withaxis = io.qt.core.Qt.Axis.ZAxis
. -
rotateRadians
Overloaded function for
rotateRadians(double, io.qt.core.Qt.Axis)
withaxis = io.qt.core.Qt.Axis.ZAxis
.
-