nx.js
Classes

DOMMatrix

Extends

Implements

Constructors

new DOMMatrix()

new DOMMatrix(init?): DOMMatrix

Parameters

ParameterType
init?string | number[]

Returns

DOMMatrix

Inherited from

DOMMatrixReadOnly.constructor

Properties

PropertyModifierTypeOverridesInherited from
apublicnumberglobalThis.DOMMatrix.a DOMMatrixReadOnly.a-
bpublicnumberglobalThis.DOMMatrix.b DOMMatrixReadOnly.b-
cpublicnumberglobalThis.DOMMatrix.c DOMMatrixReadOnly.c-
dpublicnumberglobalThis.DOMMatrix.d DOMMatrixReadOnly.d-
epublicnumberglobalThis.DOMMatrix.e DOMMatrixReadOnly.e-
fpublicnumberglobalThis.DOMMatrix.f DOMMatrixReadOnly.f-
is2Dreadonlyboolean-globalThis.DOMMatrix.is2D DOMMatrixReadOnly.is2D
isIdentityreadonlyboolean-globalThis.DOMMatrix.isIdentity DOMMatrixReadOnly.isIdentity
m11publicnumberglobalThis.DOMMatrix.m11 DOMMatrixReadOnly.m11-
m12publicnumberglobalThis.DOMMatrix.m12 DOMMatrixReadOnly.m12-
m13publicnumberglobalThis.DOMMatrix.m13 DOMMatrixReadOnly.m13-
m14publicnumberglobalThis.DOMMatrix.m14 DOMMatrixReadOnly.m14-
m21publicnumberglobalThis.DOMMatrix.m21 DOMMatrixReadOnly.m21-
m22publicnumberglobalThis.DOMMatrix.m22 DOMMatrixReadOnly.m22-
m23publicnumberglobalThis.DOMMatrix.m23 DOMMatrixReadOnly.m23-
m24publicnumberglobalThis.DOMMatrix.m24 DOMMatrixReadOnly.m24-
m31publicnumberglobalThis.DOMMatrix.m31 DOMMatrixReadOnly.m31-
m32publicnumberglobalThis.DOMMatrix.m32 DOMMatrixReadOnly.m32-
m33publicnumberglobalThis.DOMMatrix.m33 DOMMatrixReadOnly.m33-
m34publicnumberglobalThis.DOMMatrix.m34 DOMMatrixReadOnly.m34-
m41publicnumberglobalThis.DOMMatrix.m41 DOMMatrixReadOnly.m41-
m42publicnumberglobalThis.DOMMatrix.m42 DOMMatrixReadOnly.m42-
m43publicnumberglobalThis.DOMMatrix.m43 DOMMatrixReadOnly.m43-
m44publicnumberglobalThis.DOMMatrix.m44 DOMMatrixReadOnly.m44-

Methods

flipX()

flipX(): DOMMatrix

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.flipX

Inherited from

DOMMatrixReadOnly.flipX


flipY()

flipY(): DOMMatrix

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.flipY

Inherited from

DOMMatrixReadOnly.flipY


inverse()

inverse(): DOMMatrix

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.inverse

Inherited from

DOMMatrixReadOnly.inverse


invertSelf()

invertSelf(): DOMMatrix

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.invertSelf


multiply()

multiply(other?): DOMMatrix

Parameters

ParameterType
other?DOMMatrixInit

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.multiply

Inherited from

DOMMatrixReadOnly.multiply


multiplySelf()

multiplySelf(other?): DOMMatrix

Parameters

ParameterType
other?DOMMatrixInit

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.multiplySelf


preMultiplySelf()

preMultiplySelf(other?): DOMMatrix

Parameters

ParameterType
other?DOMMatrixInit

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.preMultiplySelf


rotate()

rotate(rotX?, rotY?, rotZ?): DOMMatrix

Parameters

ParameterType
rotX?number
rotY?number
rotZ?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.rotate

Inherited from

DOMMatrixReadOnly.rotate


rotateAxisAngle()

rotateAxisAngle(x?, y?, z?, angle?): DOMMatrix

Parameters

ParameterType
x?number
y?number
z?number
angle?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.rotateAxisAngle

Inherited from

DOMMatrixReadOnly.rotateAxisAngle


rotateAxisAngleSelf()

rotateAxisAngleSelf(x?, y?, z?, angle?): DOMMatrix

Parameters

ParameterType
x?number
y?number
z?number
angle?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.rotateAxisAngleSelf


rotateFromVector()

rotateFromVector(x?, y?): DOMMatrix

Parameters

ParameterType
x?number
y?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.rotateFromVector

Inherited from

DOMMatrixReadOnly.rotateFromVector


rotateFromVectorSelf()

rotateFromVectorSelf(x, y): DOMMatrix

Parameters

ParameterTypeDefault value
xnumber0
ynumber0

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.rotateFromVectorSelf


rotateSelf()

rotateSelf(rotX?, rotY?, rotZ?): DOMMatrix

Parameters

ParameterType
rotX?number
rotY?number
rotZ?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.rotateSelf


scale()

scale(scaleX?, scaleY?, scaleZ?, originX?, originY?, originZ?): DOMMatrix

Parameters

ParameterType
scaleX?number
scaleY?number
scaleZ?number
originX?number
originY?number
originZ?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.scale

Inherited from

DOMMatrixReadOnly.scale


scale3d()

scale3d(scale?, originX?, originY?, originZ?): DOMMatrix

Parameters

ParameterType
scale?number
originX?number
originY?number
originZ?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.scale3d

Inherited from

DOMMatrixReadOnly.scale3d


scale3dSelf()

scale3dSelf(scale?, originX?, originY?, originZ?): DOMMatrix

Parameters

ParameterType
scale?number
originX?number
originY?number
originZ?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.scale3dSelf


scaleNonUniform()

scaleNonUniform(scaleX?, scaleY?): DOMMatrix

Parameters

ParameterType
scaleX?number
scaleY?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.scaleNonUniform

Inherited from

DOMMatrixReadOnly.scaleNonUniform


scaleSelf()

scaleSelf(scaleX?, scaleY?, scaleZ?, originX?, originY?, originZ?): DOMMatrix

Parameters

ParameterType
scaleX?number
scaleY?number
scaleZ?number
originX?number
originY?number
originZ?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.scaleSelf


setMatrixValue()

setMatrixValue(transformList): DOMMatrix

Parameters

ParameterType
transformListstring

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.setMatrixValue


skewX()

skewX(sx?): DOMMatrix

Parameters

ParameterType
sx?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.skewX

Inherited from

DOMMatrixReadOnly.skewX


skewXSelf()

skewXSelf(sx?): DOMMatrix

Parameters

ParameterType
sx?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.skewXSelf


skewY()

skewY(sy?): DOMMatrix

Parameters

ParameterType
sy?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.skewY

Inherited from

DOMMatrixReadOnly.skewY


skewYSelf()

skewYSelf(sy?): DOMMatrix

Parameters

ParameterType
sy?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.skewYSelf


toFloat32Array()

toFloat32Array(): Float32Array

Returns

Float32Array

Implementation of

globalThis.DOMMatrix.toFloat32Array

Inherited from

DOMMatrixReadOnly.toFloat32Array


toFloat64Array()

toFloat64Array(): Float64Array

Returns

Float64Array

Implementation of

globalThis.DOMMatrix.toFloat64Array

Inherited from

DOMMatrixReadOnly.toFloat64Array


toJSON()

toJSON(): object

Returns

object

NameType
anumber
bnumber
cnumber
dnumber
enumber
fnumber
is2Dboolean
isIdentityboolean
m11number
m12number
m13number
m14number
m21number
m22number
m23number
m24number
m31number
m32number
m33number
m34number
m41number
m42number
m43number
m44number

Implementation of

globalThis.DOMMatrix.toJSON

Inherited from

DOMMatrixReadOnly.toJSON


toString()

toString(): string

Returns

string

Implementation of

globalThis.DOMMatrix.toString

Inherited from

DOMMatrixReadOnly.toString


transformPoint()

transformPoint(point): DOMPoint

Parameters

ParameterType
pointDOMPointInit

Returns

DOMPoint

Implementation of

globalThis.DOMMatrix.transformPoint

Inherited from

DOMMatrixReadOnly.transformPoint


translate()

translate(tx?, ty?, tz?): DOMMatrix

Parameters

ParameterType
tx?number
ty?number
tz?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.translate

Inherited from

DOMMatrixReadOnly.translate


translateSelf()

translateSelf(tx?, ty?, tz?): DOMMatrix

Parameters

ParameterType
tx?number
ty?number
tz?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrix.translateSelf


fromFloat32Array()

static fromFloat32Array(init): DOMMatrix

Parameters

ParameterType
initFloat32Array

Returns

DOMMatrix

Overrides

DOMMatrixReadOnly.fromFloat32Array


fromFloat64Array()

static fromFloat64Array(init): DOMMatrix

Parameters

ParameterType
initFloat64Array

Returns

DOMMatrix

Overrides

DOMMatrixReadOnly.fromFloat64Array


fromMatrix()

static fromMatrix(init?): DOMMatrix

Parameters

ParameterType
init?DOMMatrixInit

Returns

DOMMatrix

Overrides

DOMMatrixReadOnly.fromMatrix

On this page