ShapePath.PathCubicOperation

public static class ShapePath.PathCubicOperation
extends ShapePath.PathOperation

java.lang.Object
   ↳ com.google.android.material.shape.ShapePath.PathOperation
     ↳ com.google.android.material.shape.ShapePath.PathCubicOperation


Path cubic operation.

Summary

Inherited fields

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 methods

Public constructors

PathCubicOperation

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

Parameters
controlX1 float

controlY1 float

controlX2 float

controlY2 float

endX float

endY float

Public methods

applyToPath

public void applyToPath (Matrix transform, 
                Path path)

Applies the given transform to the provided path.

Parameters
transform Matrix

path Path