DOMMatrix-1
DOMMatrix: {
(init?): DOMMatrix;
prototype: DOMMatrix;
fromFloat32Array: DOMMatrix;
fromFloat64Array: DOMMatrix;
fromMatrix: DOMMatrix;
};
Type Declaration
Parameters
| Parameter | Type |
|---|---|
init? | string | number[] |
Returns
prototype
prototype: DOMMatrix;
fromFloat32Array()
fromFloat32Array(array32): 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.
Parameters
| Parameter | Type |
|---|---|
array32 | Float32Array<ArrayBuffer> |
Returns
fromFloat64Array()
fromFloat64Array(array64): DOMMatrix;
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
| Parameter | Type |
|---|---|
array64 | Float64Array<ArrayBuffer> |
Returns
fromMatrix()
fromMatrix(other?): DOMMatrix;
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
| Parameter | Type |
|---|---|
other? | DOMMatrixInit |