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

protected final Matrix matrix

A usable Matrix object for transformations.

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

abstract void applyToPath(Matrix transform, Path path)

Applies the given transform to the provided path.

Object clone()
boolean equals(Object arg0)
void finalize()
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait(long arg0, int arg1)
final void wait(long arg0)
final void wait()

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