New to Kendo UI for AngularStart a free 30-day trial

Arc

Class

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.

Parameters:observerGeometryObserver

The observer to add.

Returns:

Arc

  • The current Arc instance.

Returns the bounding box of this arc after applying the specified transformation matrix.

Parameters:matrixMatrix

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.

Returns:

number

  • The X radius of the arc.

Gets the Y radius of the arc.

Returns:

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".

Returns:

number

  • The start angle of the arc.

Returns the list of observers.

Returns:

GeometryObserver[]

  • The current observers.

Gets the location of a point on the circumference of the arc 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:

Point

  • The point on the circumference of the arc.

Stops notifying the specified observer for changes.

Parameters:observerGeometryObserver

The observer to remove.

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:valueboolean

The new anticlockwise value.

Returns:

Arc

  • The current arc instance.

Sets the center location of the arc.

Parameters:valuePoint | 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:valuenumber

The new end angle of the arc.

Returns:

Arc

  • The current Arc instance.

Sets the X radius of the arc.

Parameters:valuenumber

The new X radius of the arc.

Returns:

Arc

  • The current Arc instance.

Sets the Y radius of the arc.

Parameters:valuenumber

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:valuenumber

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.

Properties

The anticlockwise flag of the arc.

The center point 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.

Gets the start angle of the arc in decimal degrees. Measured in a clockwise direction with 0 (zero) pointing "right".