evCreate API 5.7 Help

EvArcAttributes Interface

The EvArcAttributes TS interface defines a blueprint of a JS object that specifies the angles of an arc item.

Properties

An EvArcAttributes object has the following properties:

The startAngle and spanAngle properties of an EvArcAttributes object
spanAngle: number;

A number, an angle in the angle unit of measure (UoM) global for the entire evCreate API between the following parts of the given arc:

  • The starting radius.

  • The ending radius.

Positive numbers rotate the ending radius from the starting radius clockwise, and negative numbers rotate it counterclockwise. A valid value depends on the angle UoM. For degrees, it is in the range from -359.0 to 359.0.

startAngle: number;

A number, an angle in the angle UoM global for the entire evCreate API between the following parts of a given arc:

  • The vertical axis of the bounding box.

  • The starting radius.

The 0 angle is the 12 o'clock position: the starting arc radius aligns with the vertical axis of the arc bounding box. Positive numbers rotate the starting radius from the vertical bounding box axis clockwise, and negative numbers rotate it counterclockwise. A valid value depends on the angle UoM. For degrees, it is in the range from -359.0 to 359.0.

Examples

{ spanAngle: 35, startAngle: 45 }
30 March 2025