Gimp.Matrix3.prototype.is_diagonal

function is_diagonal(): Boolean {
    // Gjs wrapper for gimp_matrix3_is_diagonal()
}
  

Checks if the given matrix is diagonal.

Returns

true if the matrix is diagonal, false otherwise