Stay organized with collections
Save and categorize content based on your preferences.
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
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 |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# ShapeAppearancePathProvider.PathListener\n========================================\n\n\n`\npublic\nstatic\n\n\ninterface\nShapeAppearancePathProvider.PathListener\n`\n\n\n`\n\n\n`\n\n|----------------------------------------------------------------------------|\n| com.google.android.material.shape.ShapeAppearancePathProvider.PathListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nListener called every time a [ShapePath](/reference/com/google/android/material/shape/ShapePath) is created for a corner or an edge treatment.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onCornerPathCreated](/reference/com/google/android/material/shape/ShapeAppearancePathProvider.PathListener#onCornerPathCreated(com.google.android.material.shape.ShapePath,%20android.graphics.Matrix,%20int))`(`[ShapePath](/reference/com/google/android/material/shape/ShapePath)` cornerPath, Matrix transform, int count) ` |\n| ` abstract void` | ` `[onEdgePathCreated](/reference/com/google/android/material/shape/ShapeAppearancePathProvider.PathListener#onEdgePathCreated(com.google.android.material.shape.ShapePath,%20android.graphics.Matrix,%20int))`(`[ShapePath](/reference/com/google/android/material/shape/ShapePath)` edgePath, Matrix transform, int count) ` |\n\nPublic methods\n--------------\n\n### onCornerPathCreated\n\n```\npublic abstract void onCornerPathCreated (ShapePath cornerPath, \n Matrix transform, \n int count)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|--------------|--------------------|\n| `cornerPath` | `ShapePath` \u003cbr /\u003e |\n| `transform` | `Matrix` \u003cbr /\u003e |\n| `count` | `int` \u003cbr /\u003e |\n\n### onEdgePathCreated\n\n```\npublic abstract void onEdgePathCreated (ShapePath edgePath, \n Matrix transform, \n int count)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-------------|--------------------|\n| `edgePath` | `ShapePath` \u003cbr /\u003e |\n| `transform` | `Matrix` \u003cbr /\u003e |\n| `count` | `int` \u003cbr /\u003e |"]]