fromMatrix

fun fromMatrix(other: DOMMatrixReadOnly = definedExternally): DOMMatrixReadOnly(source)

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