getCenter

Gets the circle center location.

Returns

kendo.geometry.Point The location of the circle center.

Example

<script>
var geom = kendo.geometry;
var circle = new geom.Circle([25, 35], 10);
var centerPoint = circle.getCenter();

console.log(centerPoint.x); // 25
console.log(centerPoint.y); // 35
console.log(centerPoint instanceof geom.Point); // true
</script>
In this article
getCenter
Not finding the help you need?
Contact Support