Watch Face Format version <button value="5" default="">Version 5</button> <button value="4">Version 4</button> <button value="3">Version 3</button> <button value="2">Version 2</button> <button value="1">Version 1</button>

*** ** * ** ***

Draws an Arc shape.

## Syntax

```xml
<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](https://developer.android.com/training/wearables/wff/common/transform/transform).

`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](https://developer.android.com/training/wearables/wff/common/transform/transform).

`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](https://developer.android.com/training/wearables/wff/common/transform/transform).

### Optional attributes

The following attributes are optional:

`direction`
:   The direction of the arc. Either `CLOCKWISE` or `COUNTER_CLOCKWISE`.
    Defaults to `CLOCKWISE`.

## Inner elements

The `Arc` element must contain a single [`Stroke`](https://developer.android.com/training/wearables/wff/group/part/draw/style/stroke) or [`WeightedStroke`](https://developer.android.com/training/wearables/wff/group/part/draw/style/weighted-stroke)
element.

An Arc can also optionally contain any number of the following elements:

- [`Transform`](https://developer.android.com/training/wearables/wff/common/transform/transform)
- [`Reference`](https://developer.android.com/training/wearables/wff/common/reference/reference)

## Recommended for you

- Note: link text is displayed when JavaScript is off
- [TextCircular](https://developer.android.com/training/wearables/wff/group/part/text/text-circular)
- [TextCircular](https://developer.android.com/training/wearables/wff/v2/group/part/text/text-circular)
- [SweepGradient](https://developer.android.com/training/wearables/wff/group/part/draw/gradient/sweep-gradient)