Join us online - 19th of November
Save your spot
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;
}

Type Declaration

    • new (init?: string | number[]): DOMMatrix
    • Parameters

      • Optionalinit: string | number[]

      Returns DOMMatrix

  • prototype: DOMMatrix
  • fromFloat32Array: function
    • 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

      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.

      MDN Reference

      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.

      MDN Reference

      Parameters

      Returns DOMMatrix

Was this helpful?