DOMMatrix
Extends
Implements
Constructors
new DOMMatrix()
new DOMMatrix(init
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
init ? | string | number [] |
Returns
Inherited from
Properties
Property | Modifier | Type | Overrides | Inherited from |
---|---|---|---|---|
a | public | number | globalThis.DOMMatrix.a DOMMatrixReadOnly .a | - |
b | public | number | globalThis.DOMMatrix.b DOMMatrixReadOnly .b | - |
c | public | number | globalThis.DOMMatrix.c DOMMatrixReadOnly .c | - |
d | public | number | globalThis.DOMMatrix.d DOMMatrixReadOnly .d | - |
e | public | number | globalThis.DOMMatrix.e DOMMatrixReadOnly .e | - |
f | public | number | globalThis.DOMMatrix.f DOMMatrixReadOnly .f | - |
is2D | readonly | boolean | - | globalThis.DOMMatrix.is2D DOMMatrixReadOnly .is2D |
isIdentity | readonly | boolean | - | globalThis.DOMMatrix.isIdentity DOMMatrixReadOnly .isIdentity |
m11 | public | number | globalThis.DOMMatrix.m11 DOMMatrixReadOnly .m11 | - |
m12 | public | number | globalThis.DOMMatrix.m12 DOMMatrixReadOnly .m12 | - |
m13 | public | number | globalThis.DOMMatrix.m13 DOMMatrixReadOnly .m13 | - |
m14 | public | number | globalThis.DOMMatrix.m14 DOMMatrixReadOnly .m14 | - |
m21 | public | number | globalThis.DOMMatrix.m21 DOMMatrixReadOnly .m21 | - |
m22 | public | number | globalThis.DOMMatrix.m22 DOMMatrixReadOnly .m22 | - |
m23 | public | number | globalThis.DOMMatrix.m23 DOMMatrixReadOnly .m23 | - |
m24 | public | number | globalThis.DOMMatrix.m24 DOMMatrixReadOnly .m24 | - |
m31 | public | number | globalThis.DOMMatrix.m31 DOMMatrixReadOnly .m31 | - |
m32 | public | number | globalThis.DOMMatrix.m32 DOMMatrixReadOnly .m32 | - |
m33 | public | number | globalThis.DOMMatrix.m33 DOMMatrixReadOnly .m33 | - |
m34 | public | number | globalThis.DOMMatrix.m34 DOMMatrixReadOnly .m34 | - |
m41 | public | number | globalThis.DOMMatrix.m41 DOMMatrixReadOnly .m41 | - |
m42 | public | number | globalThis.DOMMatrix.m42 DOMMatrixReadOnly .m42 | - |
m43 | public | number | globalThis.DOMMatrix.m43 DOMMatrixReadOnly .m43 | - |
m44 | public | number | globalThis.DOMMatrix.m44 DOMMatrixReadOnly .m44 | - |
Methods
flipX()
flipX(): DOMMatrix
Returns
Implementation of
globalThis.DOMMatrix.flipX
Inherited from
flipY()
flipY(): DOMMatrix
Returns
Implementation of
globalThis.DOMMatrix.flipY
Inherited from
inverse()
inverse(): DOMMatrix
Returns
Implementation of
globalThis.DOMMatrix.inverse
Inherited from
invertSelf()
invertSelf(): DOMMatrix
Returns
Implementation of
globalThis.DOMMatrix.invertSelf
multiply()
multiply(other
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
other ? | DOMMatrixInit |
Returns
Implementation of
globalThis.DOMMatrix.multiply
Inherited from
multiplySelf()
multiplySelf(other
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
other ? | DOMMatrixInit |
Returns
Implementation of
globalThis.DOMMatrix.multiplySelf
preMultiplySelf()
preMultiplySelf(other
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
other ? | DOMMatrixInit |
Returns
Implementation of
globalThis.DOMMatrix.preMultiplySelf
rotate()
rotate(rotX
?, rotY
?, rotZ
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
rotX ? | number |
rotY ? | number |
rotZ ? | number |
Returns
Implementation of
globalThis.DOMMatrix.rotate
Inherited from
rotateAxisAngle()
rotateAxisAngle(x
?, y
?, z
?, angle
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
x ? | number |
y ? | number |
z ? | number |
angle ? | number |
Returns
Implementation of
globalThis.DOMMatrix.rotateAxisAngle
Inherited from
DOMMatrixReadOnly
.rotateAxisAngle
rotateAxisAngleSelf()
rotateAxisAngleSelf(x
?, y
?, z
?, angle
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
x ? | number |
y ? | number |
z ? | number |
angle ? | number |
Returns
Implementation of
globalThis.DOMMatrix.rotateAxisAngleSelf
rotateFromVector()
rotateFromVector(x
?, y
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
x ? | number |
y ? | number |
Returns
Implementation of
globalThis.DOMMatrix.rotateFromVector
Inherited from
DOMMatrixReadOnly
.rotateFromVector
rotateFromVectorSelf()
rotateFromVectorSelf(x
, y
): DOMMatrix
Parameters
Parameter | Type | Default value |
---|---|---|
x | number | 0 |
y | number | 0 |
Returns
Implementation of
globalThis.DOMMatrix.rotateFromVectorSelf
rotateSelf()
rotateSelf(rotX
?, rotY
?, rotZ
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
rotX ? | number |
rotY ? | number |
rotZ ? | number |
Returns
Implementation of
globalThis.DOMMatrix.rotateSelf
scale()
scale(scaleX
?, scaleY
?, scaleZ
?, originX
?, originY
?, originZ
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
scaleX ? | number |
scaleY ? | number |
scaleZ ? | number |
originX ? | number |
originY ? | number |
originZ ? | number |
Returns
Implementation of
globalThis.DOMMatrix.scale
Inherited from
scale3d()
scale3d(scale
?, originX
?, originY
?, originZ
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
scale ? | number |
originX ? | number |
originY ? | number |
originZ ? | number |
Returns
Implementation of
globalThis.DOMMatrix.scale3d
Inherited from
scale3dSelf()
scale3dSelf(scale
?, originX
?, originY
?, originZ
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
scale ? | number |
originX ? | number |
originY ? | number |
originZ ? | number |
Returns
Implementation of
globalThis.DOMMatrix.scale3dSelf
scaleNonUniform()
scaleNonUniform(scaleX
?, scaleY
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
scaleX ? | number |
scaleY ? | number |
Returns
Implementation of
globalThis.DOMMatrix.scaleNonUniform
Inherited from
DOMMatrixReadOnly
.scaleNonUniform
Deprecated
scaleSelf()
scaleSelf(scaleX
?, scaleY
?, scaleZ
?, originX
?, originY
?, originZ
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
scaleX ? | number |
scaleY ? | number |
scaleZ ? | number |
originX ? | number |
originY ? | number |
originZ ? | number |
Returns
Implementation of
globalThis.DOMMatrix.scaleSelf
setMatrixValue()
setMatrixValue(transformList
): DOMMatrix
Parameters
Parameter | Type |
---|---|
transformList | string |
Returns
Implementation of
globalThis.DOMMatrix.setMatrixValue
skewX()
skewX(sx
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
sx ? | number |
Returns
Implementation of
globalThis.DOMMatrix.skewX
Inherited from
skewXSelf()
skewXSelf(sx
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
sx ? | number |
Returns
Implementation of
globalThis.DOMMatrix.skewXSelf
skewY()
skewY(sy
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
sy ? | number |
Returns
Implementation of
globalThis.DOMMatrix.skewY
Inherited from
skewYSelf()
skewYSelf(sy
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
sy ? | number |
Returns
Implementation of
globalThis.DOMMatrix.skewYSelf
toFloat32Array()
toFloat32Array(): Float32Array
Returns
Implementation of
globalThis.DOMMatrix.toFloat32Array
Inherited from
DOMMatrixReadOnly
.toFloat32Array
toFloat64Array()
toFloat64Array(): Float64Array
Returns
Implementation of
globalThis.DOMMatrix.toFloat64Array
Inherited from
DOMMatrixReadOnly
.toFloat64Array
toJSON()
toJSON(): object
Returns
object
Name | Type |
---|---|
a | number |
b | number |
c | number |
d | number |
e | number |
f | number |
is2D | boolean |
isIdentity | boolean |
m11 | number |
m12 | number |
m13 | number |
m14 | number |
m21 | number |
m22 | number |
m23 | number |
m24 | number |
m31 | number |
m32 | number |
m33 | number |
m34 | number |
m41 | number |
m42 | number |
m43 | number |
m44 | number |
Implementation of
globalThis.DOMMatrix.toJSON
Inherited from
toString()
toString(): string
Returns
string
Implementation of
globalThis.DOMMatrix.toString
Inherited from
transformPoint()
transformPoint(point
): DOMPoint
Parameters
Parameter | Type |
---|---|
point | DOMPointInit |
Returns
Implementation of
globalThis.DOMMatrix.transformPoint
Inherited from
DOMMatrixReadOnly
.transformPoint
translate()
translate(tx
?, ty
?, tz
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
tx ? | number |
ty ? | number |
tz ? | number |
Returns
Implementation of
globalThis.DOMMatrix.translate
Inherited from
translateSelf()
translateSelf(tx
?, ty
?, tz
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
tx ? | number |
ty ? | number |
tz ? | number |
Returns
Implementation of
globalThis.DOMMatrix.translateSelf
fromFloat32Array()
static
fromFloat32Array(init
): DOMMatrix
Parameters
Parameter | Type |
---|---|
init | Float32Array |
Returns
Overrides
DOMMatrixReadOnly
.fromFloat32Array
fromFloat64Array()
static
fromFloat64Array(init
): DOMMatrix
Parameters
Parameter | Type |
---|---|
init | Float64Array |
Returns
Overrides
DOMMatrixReadOnly
.fromFloat64Array
fromMatrix()
static
fromMatrix(init
?): DOMMatrix
Parameters
Parameter | Type |
---|---|
init ? | DOMMatrixInit |