For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Variable DOMMatrix
DOMMatrix: {
prototype: DOMMatrix;
fromFloat32Array(array32: Float32Array<ArrayBuffer>): DOMMatrix;
fromFloat64Array(array64: Float64Array<ArrayBuffer>): DOMMatrix;
fromMatrix(other?: DOMMatrixInit): DOMMatrix;
new (init?: string | number[]): DOMMatrix;
}
prototype: DOMMatrix;
fromFloat32Array(array32: Float32Array<ArrayBuffer>): DOMMatrix;
fromFloat64Array(array64: Float64Array<ArrayBuffer>): DOMMatrix;
fromMatrix(other?: DOMMatrixInit): DOMMatrix;
new (init?: string | number[]): DOMMatrix;
}
Type Declaration
-
prototype: DOMMatrix
-
fromFloat32Array: function
-
Parameters
- array32: Float32Array<ArrayBuffer>
Returns DOMMatrix
-
-
fromFloat64Array: function
-
The
fromFloat64Array()static method of the DOMMatrix interface creates a new DOMMatrix object given an array of double-precision (64-bit) floating-point values.Parameters
- array64: Float64Array<ArrayBuffer>
Returns DOMMatrix
-
-
fromMatrix: function
-
The
fromMatrix()static method of the DOMMatrix interface creates a new DOMMatrix object given an existing matrix or an object which provides the values for its properties.Parameters
Optionalother: DOMMatrixInit
Returns DOMMatrix
-
The
fromFloat32Array()static method of the DOMMatrix interface creates a new DOMMatrix object given an array of single-precision (32-bit) floating-point values.MDN Reference