# com.google.android.material.shape

*** ** * ** ***

## Annotations

|---|---|
| `https://developer.android.com/reference/com/google/android/material/shape/CornerFamily` | CornerFamily enum that holds which family to be used to create a `https://developer.android.com/reference/com/google/android/material/shape/CornerTreatment` |
| `https://developer.android.com/reference/com/google/android/material/shape/MaterialShapeDrawable.CompatibilityShadowMode` | Determines when compatibility shadow is drawn vs. native elevation shadows. |

## Interfaces

|---|---|
| `https://developer.android.com/reference/com/google/android/material/shape/CornerSize` | Allows clients to describe the size of a corner independently from a `https://developer.android.com/reference/com/google/android/material/shape/CornerTreatment`. |
| `https://developer.android.com/reference/com/google/android/material/shape/Shapeable` | Provides a mechanism to uniformly modify the `https://developer.android.com/reference/com/google/android/material/shape/ShapeAppearanceModel` that backs a component or android.graphics.drawable.Drawable's shape. |

## Classes

|---|---|
| `https://developer.android.com/reference/com/google/android/material/shape/AbsoluteCornerSize` | A `https://developer.android.com/reference/com/google/android/material/shape/CornerSize` that always uses the provided size and ignores the bounds. |
| `https://developer.android.com/reference/com/google/android/material/shape/CornerTreatment` | A basic corner treatment (a single point which does not affect the shape). |
| `https://developer.android.com/reference/com/google/android/material/shape/CutCornerTreatment` | A corner treatment which cuts or clips the original corner of a shape with a straight line. |
| `https://developer.android.com/reference/com/google/android/material/shape/EdgeTreatment` | A basic edge treatment (a single straight line). |
| `https://developer.android.com/reference/com/google/android/material/shape/InterpolateOnScrollPositionChangeHelper` | Helper class to handle shape interpolation when shaped views enter or exit the window. |
| `https://developer.android.com/reference/com/google/android/material/shape/MarkerEdgeTreatment` | Draws an arrow on the edge given the radius of a circle. |
| `https://developer.android.com/reference/com/google/android/material/shape/MaterialShapeDrawable` | Base drawable class for Material Shapes that handles shadows, elevation, scale and color for a generated path. |
| `https://developer.android.com/reference/com/google/android/material/shape/MaterialShapeUtils` | Utility methods for `https://developer.android.com/reference/com/google/android/material/shape/MaterialShapeDrawable` and related classes. |
| `https://developer.android.com/reference/com/google/android/material/shape/OffsetEdgeTreatment` | Offsets a different edge treatment by the given amount. |
| `https://developer.android.com/reference/com/google/android/material/shape/RelativeCornerSize` | A `https://developer.android.com/reference/com/google/android/material/shape/CornerSize` that takes a percent and computes the size used based on the length of the shortest edge adjacent to the corner. |
| `https://developer.android.com/reference/com/google/android/material/shape/RoundedCornerTreatment` | A corner treatment which rounds a corner of a shape. |
| `https://developer.android.com/reference/com/google/android/material/shape/ShapeAppearanceModel` | This class models the edges and corners of a shape, which are used by `https://developer.android.com/reference/com/google/android/material/shape/MaterialShapeDrawable` to generate and render the shape for a view's background. |
| `https://developer.android.com/reference/com/google/android/material/shape/ShapeAppearanceModel.Builder` | Builder to create instances of `https://developer.android.com/reference/com/google/android/material/shape/ShapeAppearanceModel`s. |
| `https://developer.android.com/reference/com/google/android/material/shape/ShapeAppearancePathProvider` | A class to convert a `https://developer.android.com/reference/com/google/android/material/shape/ShapeAppearanceModel` to a android.graphics.Path. |
| `https://developer.android.com/reference/com/google/android/material/shape/ShapePath` | Represents the descriptive path of a shape. |
| `https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathArcOperation` | Path arc operation. |
| `https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathCubicOperation` | Path cubic operation. |
| `https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathLineOperation` | Straight line operation. |
| `https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathOperation` | Interface for a path operation to be appended to the operations list. |
| `https://developer.android.com/reference/com/google/android/material/shape/ShapePath.PathQuadOperation` | Path quad operation. |
| `https://developer.android.com/reference/com/google/android/material/shape/ShapePathModel` | **This class is deprecated.** Use `https://developer.android.com/reference/com/google/android/material/shape/ShapeAppearanceModel` instead. <br /> |
| `https://developer.android.com/reference/com/google/android/material/shape/TriangleEdgeTreatment` | An edge treatment which draws triangles at the midpoint of an edge, facing into or out of the shape. |