The second Android 11 Developer Preview is now available, test it out and share 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

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

Parameters
cornerPath ShapePath

transform Matrix

count int

onEdgePathCreated

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

Parameters
edgePath ShapePath

transform Matrix

count int