Skip to main content

DOMMatrixReadOnly-1

DOMMatrixReadOnly: {
(init?): DOMMatrixReadOnly;
prototype: DOMMatrixReadOnly;
fromFloat32Array: DOMMatrixReadOnly;
fromFloat64Array: DOMMatrixReadOnly;
fromMatrix: DOMMatrixReadOnly;
};

Type Declaration

Parameters

ParameterType
init?string | number[]

Returns

DOMMatrixReadOnly

prototype

prototype: DOMMatrixReadOnly;

fromFloat32Array()

fromFloat32Array(array32): DOMMatrixReadOnly;

The fromFloat32Array() static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of single-precision (32-bit) floating-point values.

MDN Reference

Parameters

ParameterType
array32Float32Array<ArrayBuffer>

Returns

DOMMatrixReadOnly

fromFloat64Array()

fromFloat64Array(array64): DOMMatrixReadOnly;

The fromFloat64Array() static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of double-precision (64-bit) floating-point values.

MDN Reference

Parameters

ParameterType
array64Float64Array<ArrayBuffer>

Returns

DOMMatrixReadOnly

fromMatrix()

fromMatrix(other?): DOMMatrixReadOnly;

The fromMatrix() static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an existing matrix or an object which provides the values for its properties.

MDN Reference

Parameters

ParameterType
other?DOMMatrixInit

Returns

DOMMatrixReadOnly