Google is committed to advancing racial equity for Black communities. See how.

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

From class com.google.android.material.shape.ShapePath.PathOperation

Public constructors

ShapePath.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

From class com.google.android.material.shape.ShapePath.PathOperation
From class java.lang.Object

Public constructors

ShapePath.PathCubicOperation

ShapePath.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

void applyToPath (Matrix transform, 
                Path path)

Applies the given transform to the provided path.

Parameters
transform Matrix

path Path