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

Equals

methods

Compares this circle with another instance.

Parameters:otherkendo.geometry.Circle

The circle to compare with.

Returns:Boolean

true if the point coordinates match; false otherwise.

<script>
var geom = kendo.geometry;
var circle1 = new geom.Circle([10, 20], 15);
var circle2 = new geom.Circle([10, 20], 15);
var circle3 = new geom.Circle([10, 20], 20);
var circle4 = new geom.Circle([5, 20], 15);

console.log(circle1.equals(circle2)); // true (same center and radius)
console.log(circle1.equals(circle3)); // false (different radius)
console.log(circle1.equals(circle4)); // false (different center)
</script>
Not finding the help you need?
Contact Support