Circle
Class
A circle with a set center and radius.
Definition
Package:@progress/kendo-drawing
Methods
Adds an observer to be notified for changes.
Creates a new instance with the same center and radius.
Returns:
- A new Circle instance with the same center and radius.
Compares this circle with another instance.
Parameters:otherCircle
The circle to compare with.
Returns:boolean
true if the point coordinates match. Otherwise, returns false.
Gets the radius of the circle.
Returns:
number
- The radius of the circle.
Returns the list of observers.
Returns:
- The current observers.
Gets the location of a point on the circumference of the circle at a given angle.
Parameters:anglenumber
The angle in decimal degrees. Measured in a clockwise direction with 0 (zero) pointing "right". Negative values or values greater than 360 are normalized.
Returns:- The point on the circumference of the circle.
Stops notifying the specified observer for changes.
Resumes the notification to all observers for changes.
Returns:
- The current Arc instance.
Sets the radius of the circle.