Draws an Arc shape.
Syntax
<Arc centerX="float" centerY="float" height="float" width="float" startAngle="float" endAngle="float" direction="CLOCKWISE | COUNTER_CLOCKWISE" />
Attributes
The Arc element has the following attributes:
Required attributes
The following attributes are required:
- centerX,- centerY,- width,- height
- A collection of attributes which define a containing oval for the arc. The arc is scaled to fit inside the specified oval. All attributes are defined as floats. - These Attributes are transformable. 
- startAngle
- The angle (in degrees) where the arc begins. An angle of 0 degrees corresponds to the 12 o'clock position on the watch. - This attribute is transformable. 
- endAngle
- The angle (in degrees) where the arc ends. An angle of 0 degrees corresponds to the 12 o'clock position on the watch. - This attribute is transformable. 
Optional attributes
The following attributes are optional:
- direction
- The direction of the arc. Either CLOCKWISEorCOUNTER_CLOCKWISE. Defaults toCLOCKWISE.
Inner elements
The Arc element must contain a single Stroke or WeightedStroke
element.
An Arc can also optionally contain any number of the following elements:
Recommended for you
- Note: link text is displayed when JavaScript is off
- TextCircular
- TextCircular
- SweepGradient
