Skip to main content

property DOMMatrixReadOnly.is2D

The readonly is2D property of the DOMMatrixReadOnly interface is a Boolean flag that is true when the matrix is 2D. The value is true if the matrix was initialized as a 2D matrix and only 2D transformation operations were applied. Otherwise, the matrix is defined in 3D, and is2D is false.

MDN Reference

Type #

boolean

Did you find what you needed?

Privacy policy