nx.js
Classes

DOMMatrixReadOnly

Extended by

Implements

Constructors

new DOMMatrixReadOnly()

new DOMMatrixReadOnly(init?): DOMMatrixReadOnly

Parameters

ParameterType
init?string | number[]

Returns

DOMMatrixReadOnly

Properties

PropertyModifierType
areadonlynumber
breadonlynumber
creadonlynumber
dreadonlynumber
ereadonlynumber
freadonlynumber
is2Dreadonlyboolean
isIdentityreadonlyboolean
m11readonlynumber
m12readonlynumber
m13readonlynumber
m14readonlynumber
m21readonlynumber
m22readonlynumber
m23readonlynumber
m24readonlynumber
m31readonlynumber
m32readonlynumber
m33readonlynumber
m34readonlynumber
m41readonlynumber
m42readonlynumber
m43readonlynumber
m44readonlynumber

Methods

flipX()

flipX(): DOMMatrix

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrixReadOnly.flipX


flipY()

flipY(): DOMMatrix

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrixReadOnly.flipY


inverse()

inverse(): DOMMatrix

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrixReadOnly.inverse


multiply()

multiply(other?): DOMMatrix

Parameters

ParameterType
other?DOMMatrixInit

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrixReadOnly.multiply


rotate()

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

Parameters

ParameterType
rotX?number
rotY?number
rotZ?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrixReadOnly.rotate


rotateAxisAngle()

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

Parameters

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

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrixReadOnly.rotateAxisAngle


rotateFromVector()

rotateFromVector(x?, y?): DOMMatrix

Parameters

ParameterType
x?number
y?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrixReadOnly.rotateFromVector


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.DOMMatrixReadOnly.scale


scale3d()

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

Parameters

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

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrixReadOnly.scale3d


scaleNonUniform()

scaleNonUniform(scaleX?, scaleY?): DOMMatrix

Parameters

ParameterType
scaleX?number
scaleY?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrixReadOnly.scaleNonUniform


skewX()

skewX(sx?): DOMMatrix

Parameters

ParameterType
sx?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrixReadOnly.skewX


skewY()

skewY(sy?): DOMMatrix

Parameters

ParameterType
sy?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrixReadOnly.skewY


toFloat32Array()

toFloat32Array(): Float32Array

Returns

Float32Array

Implementation of

globalThis.DOMMatrixReadOnly.toFloat32Array


toFloat64Array()

toFloat64Array(): Float64Array

Returns

Float64Array

Implementation of

globalThis.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.DOMMatrixReadOnly.toJSON


toString()

toString(): string

Returns

string

Implementation of

globalThis.DOMMatrixReadOnly.toString


transformPoint()

transformPoint(point): DOMPoint

Parameters

ParameterType
pointDOMPointInit

Returns

DOMPoint

Implementation of

globalThis.DOMMatrixReadOnly.transformPoint


translate()

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

Parameters

ParameterType
tx?number
ty?number
tz?number

Returns

DOMMatrix

Implementation of

globalThis.DOMMatrixReadOnly.translate


fromFloat32Array()

static fromFloat32Array(init): DOMMatrixReadOnly

Parameters

ParameterType
initFloat32Array

Returns

DOMMatrixReadOnly


fromFloat64Array()

static fromFloat64Array(init): DOMMatrixReadOnly

Parameters

ParameterType
initFloat64Array

Returns

DOMMatrixReadOnly


fromMatrix()

static fromMatrix(init?): DOMMatrixReadOnly

Parameters

ParameterType
init?DOMMatrixInit

Returns

DOMMatrixReadOnly

On this page