Skip to main content

method DOMMatrixReadOnly.toJSON

#DOMMatrixReadOnly.toJSON(): any

The toJSON() method of the DOMMatrixReadOnly interface creates and returns a JSON object. The JSON object includes the 2D matrix elements a through f, the 16 elements of the 4X4 3D matrix, m[1-4][1-4], the boolean is2D property, and the boolean isIdentity property.

MDN Reference

Return Type #

any

Did you find what you needed?

Privacy policy