pointAt
Gets the location of a point on the circle'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 circle's circumference.
Example
<script>
var geom = kendo.geometry;
var circle = new geom.Circle([0, 0], 10);
// Get point at 0 degrees (rightmost point)
var rightPoint = circle.pointAt(0);
console.log(rightPoint.x); // 10
console.log(rightPoint.y); // 0
// Get point at 90 degrees (bottom point)
var bottomPoint = circle.pointAt(90);
console.log(Math.round(bottomPoint.x)); // 0
console.log(Math.round(bottomPoint.y)); // 10
// Get point at 180 degrees (leftmost point)
var leftPoint = circle.pointAt(180);
console.log(Math.round(leftPoint.x)); // -10
console.log(Math.round(leftPoint.y)); // 0
</script>
In this article