java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QTransform
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QTransform extends QtObject implements Cloneable
Specifies 2D transformations of a coordinate system
Java wrapper for Qt class QTransform
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QTransform.TransformationType
Java wrapper for Qt enum QTransform::TransformationType -
Constructor Summary
Constructors Modifier Constructor Description QTransform()
QTransform(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
QTransform(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QTransform
add(double div)
QTransform
adjoint()
QTransform
clone()
double
determinant()
QTransform
divide(double div)
double
dx()
double
dy()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.static QTransform
fromScale(double dx, double dy)
static QTransform
fromTranslate(double dx, double dy)
int
hashCode()
QTransform
inverted()
boolean
isAffine()
boolean
isIdentity()
boolean
isInvertible()
boolean
isRotating()
boolean
isScaling()
boolean
isTranslating()
double
m11()
double
m12()
double
m13()
double
m21()
double
m22()
double
m23()
double
m31()
double
m32()
double
m33()
QLine
map(QLine l)
QLineF
map(QLineF l)
QPoint
map(QPoint p)
QPointF
map(QPointF p)
QPainterPath
map(QPainterPath p)
QPolygon
map(QPolygon a)
QPolygonF
map(QPolygonF a)
QRegion
map(QRegion r)
QRect
mapRect(QRect arg__1)
QRectF
mapRect(QRectF arg__1)
QPolygon
mapToPolygon(QRect r)
QTransform
multiplied(QTransform o)
QTransform
multiply(double div)
QTransform
multiply(QTransform arg__1)
static QTransform
quadToQuad(QPolygonF one, QPolygonF two)
static QTransform
quadToSquare(QPolygonF quad)
void
readFrom(QDataStream arg__1)
void
reset()
QTransform
rotate(double a)
Overloaded function forrotate(double, io.qt.core.Qt.Axis)
withaxis = io.qt.core.Qt.Axis.ZAxis
.QTransform
rotate(double a, Qt.Axis axis)
QTransform
rotateRadians(double a)
Overloaded function forrotateRadians(double, io.qt.core.Qt.Axis)
withaxis = io.qt.core.Qt.Axis.ZAxis
.QTransform
rotateRadians(double a, Qt.Axis axis)
QTransform
scale(double sx, double sy)
void
setMatrix(double m11, double m12, double m13, double m21, double m22, double m23, double m31, double m32, double m33)
QTransform
shear(double sh, double sv)
static QTransform
squareToQuad(QPolygonF square)
QTransform
subtract(double div)
String
toString()
QTransform
translate(double dx, double dy)
QTransform
transposed()
QTransform.TransformationType
type()
void
writeTo(QDataStream arg__1)
-
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
-
multiply
-
multiply
-
add
-
subtract
-
divide
-
writeTo
-
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
-
quadToQuad
-
quadToSquare
-
squareToQuad
-
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
-