# ShapePath.PathQuadOperation

[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.PathQuadOperation 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.PathQuadOperation](https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathQuadOperation) |

*** ** * ** ***

Path quad operation.

## Summary

| ### Public fields |
|---|---|
| `float` | `https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathQuadOperation#controlX()` **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.PathQuadOperation#controlY()` **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.PathQuadOperation#endX()` **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.PathQuadOperation#endY()` **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.PathQuadOperation#PathQuadOperation()()` |

| ### Public methods |
|---|---|
| `void` | `https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathQuadOperation#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

### controlX

```
public float controlX
```

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

### controlY

```
public float controlY
```

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

### endX

```
public float endX
```

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

### endY

```
public float endY
```

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

## Public constructors

### PathQuadOperation

```
public PathQuadOperation()
```

## Public methods

### applyToPath

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

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