ShapePath.PathCubicOperation

public class ShapePath.PathCubicOperation extends ShapePath.PathOperation


Path cubic operation.

Summary

Public constructors

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

Public methods

void
applyToPath(Matrix transform, Path path)

Applies the given transform to the provided path.

Inherited fields

From com.google.android.material.shape.ShapePath.PathOperation
final 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.