# ShapePath.PathArcOperation

[View Source](https://github.com/material-components/material-components-android/blob/1.14.0/lib/java/com/google/android/material/shape/ShapePath.java)

*** ** * ** ***


```
public class ShapePath.PathArcOperation extends ShapePath.PathOperation
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) |||
| ↳ | [com.google.android.material.shape.ShapePath.PathOperation](https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathOperation) ||
|   | ↳ | [com.google.android.material.shape.ShapePath.PathArcOperation](https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathArcOperation) |

*** ** * ** ***

Path arc operation.

## Summary

| ### Public fields |
|---|---|
| `float` | `https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathArcOperation#bottom()` **This field is deprecated.** Use the class methods to interact with this field so internal state can be maintained. <br /> |
| `float` | `https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathArcOperation#left()` **This field is deprecated.** Use the class methods to interact with this field so internal state can be maintained. <br /> |
| `float` | `https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathArcOperation#right()` **This field is deprecated.** Use the class methods to interact with this field so internal state can be maintained. <br /> |
| `float` | `https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathArcOperation#startAngle()` **This field is deprecated.** Use the class methods to interact with this field so internal state can be maintained. <br /> |
| `float` | `https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathArcOperation#sweepAngle()` **This field is deprecated.** Use the class methods to interact with this field so internal state can be maintained. <br /> |
| `float` | `https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathArcOperation#top()` **This field is deprecated.** Use the class methods to interact with this field so internal state can be maintained. <br /> |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathArcOperation#PathArcOperation(float,float,float,float)(float left, float top, float right, float bottom)` |

| ### Public methods |
|---|---|
| `void` | `https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathArcOperation#applyToPath(Matrix,Path)(Matrix transform, Path path)` Applies the given `transform` to the provided `path`. |

| ### Inherited fields |
|---|
| From [com.google.android.material.shape.ShapePath.PathOperation](https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathOperation) |---|---| | `final Matrix` | `https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathOperation#matrix()` A usable Matrix object for transformations. | |

## Public fields

### bottom

```
public float bottom
```

> [!CAUTION]
> **This field is deprecated.**   
>
> Use the class methods to interact with this field so internal state can be maintained.

### left

```
public float left
```

> [!CAUTION]
> **This field is deprecated.**   
>
> Use the class methods to interact with this field so internal state can be maintained.

### right

```
public float right
```

> [!CAUTION]
> **This field is deprecated.**   
>
> Use the class methods to interact with this field so internal state can be maintained.

### startAngle

```
public float startAngle
```

> [!CAUTION]
> **This field is deprecated.**   
>
> Use the class methods to interact with this field so internal state can be maintained.

### sweepAngle

```
public float sweepAngle
```

> [!CAUTION]
> **This field is deprecated.**   
>
> Use the class methods to interact with this field so internal state can be maintained.

### top

```
public float top
```

> [!CAUTION]
> **This field is deprecated.**   
>
> Use the class methods to interact with this field so internal state can be maintained.

## Public constructors

### PathArcOperation

```
public PathArcOperation(float left, float top, float right, float bottom)
```

## Public methods

### applyToPath

```
public void applyToPath(Matrix transform, Path path)
```

Applies the given `transform` to the provided `path`.