pointAt

Gets the location of a point on the arc's circumference at a given angle.

Parameters

angle Number

Angle in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.

Returns

kendo.geometry.Point The point on the arc's circumference.

Example

<script>
var geom = kendo.geometry;
var arc = new geom.Arc([50, 50], {
    radiusX: 30,
    radiusY: 20,
    startAngle: 0,
    endAngle: 180
});
var point = arc.pointAt(90);
console.log(point.x); // x coordinate at 90 degrees
console.log(point.y); // y coordinate at 90 degrees
</script>
In this article
pointAt
Not finding the help you need?
Contact Support