Arc
Represents an arc with a set center, direction, angular range, and X/Y radius.
Definition
Package:@progress/kendo-drawing
Methods
Adds an observer to be notified for changes.
Gets the anticlockwise flag of the arc.
boolean
- The anticlockwise flag of the arc.
Gets the end angle of the arc in decimal degrees. Measured in a clockwise direction with 0 (zero) pointing "right".
number
- The end angle of the arc.
Gets the X radius of the arc.
number
- The X radius of the arc.
Gets the Y radius of the arc.
number
- 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".
number
- The start angle of the arc.
Returns the list of observers.
- The current observers.
Gets the location of a point on the circumference of the arc at a given angle.
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 arc.
Stops notifying the specified observer for changes.
Sets the anticlockwise flag of the arc.
Sets the end angle of the arc in decimal degrees. Measured in a clockwise direction with 0 (zero) pointing "right".
Sets the X radius of the arc.
Sets the Y radius of the arc.
Sets the start angle of the arc in decimal degrees. Measured in a clockwise direction with 0 (zero) pointing "right".
Properties
anticlockwise
boolean
The anticlockwise flag of the arc.
endAngle
number
Gets the end angle of the arc in decimal degrees. Measured in a clockwise direction with 0 (zero) pointing "right".
radiusX
number
Gets the X radius of the arc.
radiusY
number
Gets the Y radius of the arc.
startAngle
number
Gets the start angle of the arc in decimal degrees. Measured in a clockwise direction with 0 (zero) pointing "right".