New to Kendo UI for Angular? Start a free 30-day trial
A circle with a set center and radius.
Name | Type | Default | Description |
---|
|
Point
|
|
|
number
|
|
(center: any, radius: number)
Creates a circle with a set center and radius.
any
The center point of the circle.
number
The radius of the circle.
|
---|
Adds an observer to be notified for changes.
|
|
Returns | |
---|
Circle
|
- The current Arc instance.
|
|
|
---|
Returns the bounding box of this circle after applying the specified transformation matrix.
|
Parameters | | |
---|
matrix?
|
Matrix
|
The transformation matrix to apply.
|
|
Returns | |
---|
Rect
|
- The bounding box after applying the transformation matrix.
|
|
|
---|
Creates a new instance with the same center and radius.
|
Returns | |
---|
Circle
|
- A new Circle instance with the same center and radius.
|
|
|
---|
Compares this circle with another instance.
|
Parameters | | |
---|
other
|
Circle
|
The circle to compare with.
|
|
Returns | |
---|
boolean
|
true if the point coordinates match. Otherwise, returns false .
|
|
|
---|
Gets the center location of the circle.
|
Returns | |
---|
Point
|
- The location of the circle center.
|
|
|
---|
Gets the radius of the circle.
|
Returns | |
---|
number
|
- The radius of the circle.
|
|
|
---|
Returns the list of observers.
|
|
|
---|
Gets the location of a point on the circumference of the circle at a given angle.
|
Parameters | | |
---|
angle
|
number
|
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 | |
---|
Point
|
- The point on the circumference of the circle.
|
|
|
---|
Stops notifying the specified observer for changes.
|
|
Returns | |
---|
Circle
|
- The current Arc instance.
|
|
|
---|
Resumes the notification to all observers for changes.
|
Returns | |
---|
Circle
|
- The current Arc instance.
|
|
|
---|
Sets the location of the circle center.
|
Parameters | | |
---|
center
|
number[] | Point
|
The new center Point or an equivalent [x, y] array.
|
|
Returns | |
---|
Point
|
- The location of the circle center.
|
|
|
---|
Sets the radius of the circle.
|
Parameters | | |
---|
radius
|
number
|
The new radius of the circle.
|
|
Returns | |
---|
Circle
|
- The current Circle instance.
|
|
|
---|
Suspends the change notifications to all observers.
|
Returns | |
---|
Circle
|
- The current Arc instance.
|
|