New to Kendo UI for jQueryStart a free 30-day trial

Equals

methods

Compares this matrix with another instance.

Parameters:otherkendo.geometry.Matrix

The matrix instance to compare with.

Returns:Boolean

true if the matrix elements match; false otherwise.

<script>
    var geom = kendo.geometry;
    var matrix1 = new geom.Matrix(1, 0, 0, 1, 10, 20);
    var matrix2 = new geom.Matrix(1, 0, 0, 1, 10, 20);
    var matrix3 = new geom.Matrix(2, 0, 0, 1, 10, 20);
    console.log("matrix1 equals matrix2:", matrix1.equals(matrix2)); // true
    console.log("matrix1 equals matrix3:", matrix1.equals(matrix3)); // false
</script>
Not finding the help you need?
Contact Support