New to Kendo UI for Angular? Start a free 30-day trial
Represents an arc with a set center, direction, angular range, and X/Y radius.
Name | Type | Default | Description |
---|
|
boolean
|
|
|
Point
|
|
|
number
|
|
|
number
|
|
|
number
|
|
|
number
|
|
(center: Point | number[], options?: ArcOptions)
Creates a new Arc instance.
Point | number[]
The center point of the arc.
ArcOptions
The options that describe the arc.
|
---|
Adds an observer to be notified for changes.
|
|
Returns | |
---|
Arc
|
- The current Arc instance.
|
|
|
---|
Returns the bounding box of this arc after applying the specified transformation matrix.
|
Parameters | | |
---|
matrix
|
Matrix
|
The transformation matrix to apply.
|
|
Returns | |
---|
Rect
|
- The bounding box after applying the transformation matrix.
|
|
|
---|
Gets the anticlockwise flag of the arc.
|
Returns | |
---|
boolean
|
- The anticlockwise flag of the arc.
|
|
|
---|
Gets the center location of the arc.
|
Returns | |
---|
Point
|
- The location of the arc center.
|
|
|
---|
Gets the end angle of the arc in decimal degrees. Measured in a clockwise direction with 0 (zero) pointing "right".
|
Returns | |
---|
number
|
- The end angle of the arc.
|
|
|
---|
Gets the X radius of the arc.
|
|
|
---|
Gets the Y radius of the arc.
|
|
|
---|
Gets the start angle of the arc in decimal degrees. Measured in a clockwise direction with 0 (zero) pointing "right".
|
Returns | |
---|
number
|
- The start angle of the arc.
|
|
|
---|
Returns the list of observers.
|
|
|
---|
Gets the location of a point on the circumference of the arc 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 arc.
|
|
|
---|
Stops notifying the specified observer for changes.
|
|
Returns | |
---|
Arc
|
- The current Arc instance.
|
|
|
---|
Resumes the notification to all observers for changes.
|
Returns | |
---|
Arc
|
- The current Arc instance.
|
|
|
---|
Sets the anticlockwise flag of the arc.
|
Parameters | | |
---|
value
|
boolean
|
The new anticlockwise value.
|
|
Returns | |
---|
Arc
|
- The current arc instance.
|
|
|
---|
Sets the center location of the arc.
|
Parameters | | |
---|
value
|
Point | number[]
|
The new arc center.
|
|
Returns | |
---|
Arc
|
- The current Arc instance.
|
|
|
---|
Sets the end angle of the arc in decimal degrees. Measured in a clockwise direction with 0 (zero) pointing "right".
|
Parameters | | |
---|
value
|
number
|
The new end angle of the arc.
|
|
Returns | |
---|
Arc
|
- The current Arc instance.
|
|
|
---|
Sets the X radius of the arc.
|
Parameters | | |
---|
value
|
number
|
The new X radius of the arc.
|
|
Returns | |
---|
Arc
|
- The current Arc instance.
|
|
|
---|
Sets the Y radius of the arc.
|
Parameters | | |
---|
value
|
number
|
The new Y radius of the arc.
|
|
Returns | |
---|
Arc
|
- The current Arc instance.
|
|
|
---|
Sets the start angle of the arc in decimal degrees. Measured in a clockwise direction with 0 (zero) pointing "right".
|
Parameters | | |
---|
value
|
number
|
The new start angle of the arc.
|
|
Returns | |
---|
Arc
|
- The current Arc instance.
|
|
|
---|
Suspends the change notifications to all observers.
|
Returns | |
---|
Arc
|
- The current Arc instance.
|
|