java.lang.Object
io.qt.QtObject
io.qt.gui.QTransform
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Specifies 2D transformations of a coordinate system
Java wrapper for Qt's class QTransform
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QTransform::TransformationTypeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQTransform
(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, double h33) QTransform
(QTransform other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QTransform
add
(double div) final QTransform
adjoint()
final void
assign
(QTransform arg__1) clone()
final double
final QTransform
div
(double n) final QTransform
divide
(double div) final double
dx()
final double
dy()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.static QTransform
fromScale
(double dx, double dy) static QTransform
fromTranslate
(double dx, double dy) int
hashCode()
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 QPainterPath
map
(QPainterPath p) final QPolygon
final QPolygonF
final QRegion
final QRect
final QRectF
final QPolygon
final QTransform
minus
(double n) final QTransform
final QTransform
multiply
(double div) final QTransform
multiply
(QTransform arg__1) final QTransform
plus
(double n) 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) 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()
final QTransform
translate
(double dx, double dy) final QTransform
type()
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QTransform
public QTransform() -
QTransform
-
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 h21, double h22, double dx, double dy) -
QTransform
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
adjoint
-
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
-
add
-
minus
-
subtract
-
div
-
divide
-
writeTo
-
assign
-
readFrom
-
reset
-
rotate
Overloaded function for
rotate(double, io.qt.core.Qt.Axis)
withaxis = io.qt.core.Qt.Axis.ZAxis
. -
rotate
-
rotateRadians
Overloaded function for
rotateRadians(double, io.qt.core.Qt.Axis)
withaxis = io.qt.core.Qt.Axis.ZAxis
. -
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
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
squareToQuad
- See Also:
-
quadToSquare
- See Also:
-
quadToQuad
-
toString
-
clone
-