# ShapePath.PathCubicOperation

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

*** ** * ** ***

Path cubic operation.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathCubicOperation#PathCubicOperation(float,float,float,float,float,float)( float controlX1, float controlY1, float controlX2, float controlY2, float endX, float endY )` |

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

### PathCubicOperation

```
public PathCubicOperation(
    float controlX1,
    float controlY1,
    float controlX2,
    float controlY2,
    float endX,
    float endY
)
```

## Public methods

### applyToPath

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

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