Android 12 Developer Preview is here! Try it out, and give us your feedback!

ShapeAppearancePathProvider.PathListener

public static interface ShapeAppearancePathProvider.PathListener

com.google.android.material.shape.ShapeAppearancePathProvider.PathListener


Listener called every time a ShapePath is created for a corner or an edge treatment.

Summary

Public methods

abstract void onCornerPathCreated(ShapePath cornerPath, Matrix transform, int count)
abstract void onEdgePathCreated(ShapePath edgePath, Matrix transform, int count)

Public methods

onCornerPathCreated

public abstract void onCornerPathCreated (ShapePath cornerPath, 
                Matrix transform, 
                int count)

Parameters
cornerPath ShapePath

transform Matrix

count int

onEdgePathCreated

public abstract void onEdgePathCreated (ShapePath edgePath, 
                Matrix transform, 
                int count)

Parameters
edgePath ShapePath

transform Matrix

count int