getCenter

Gets the arc center location.

Returns

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

Example

<script>
var geom = kendo.geometry;
var arc = new geom.Arc([75, 85], {
    radiusX: 25,
    radiusY: 15,
    startAngle: 45,
    endAngle: 135
});
var center = arc.getCenter();
console.log(center.x); // 75
console.log(center.y); // 85
</script>
In this article
getCenter
Not finding the help you need?
Contact Support