equals

Compares this point with another instance.

Parameters

other kendo.geometry.Point

The point to compare with.

Returns

Boolean true if the point coordinates match; false otherwise.

Example

<script>
var geom = kendo.geometry;
var point1 = new geom.Point(10, 20);
var point2 = new geom.Point(10, 20);
var point3 = new geom.Point(15, 25);

console.log(point1.equals(point2)); // outputs: true
console.log(point1.equals(point3)); // outputs: false
</script>
In this article
equals
Not finding the help you need?
Contact Support