Shape Appearance Path Provider
A class to convert a ShapeAppearanceModel to a android.graphics.Path.
Types
Link copied to clipboard
Listener called every time a ShapePath is created for a corner or an edge treatment.
Functions
Link copied to clipboard
open fun calculatePath(shapeAppearanceModel: ShapeAppearanceModel, interpolation: Float, bounds: RectF, @NonNull path: Path)
open fun calculatePath(shapeAppearanceModel: ShapeAppearanceModel, interpolation: Float, bounds: RectF, pathListener: ShapeAppearancePathProvider.PathListener, @NonNull path: Path)
open fun calculatePath(@NonNull shapeAppearanceModel: ShapeAppearanceModel, @Nullable cornerSizeOverrides: Array<Float>, interpolation: Float, bounds: RectF, pathListener: ShapeAppearancePathProvider.PathListener, @NonNull path: Path)
Writes the given ShapeAppearanceModel to
pathLink copied to clipboard
Link copied to clipboard
Most drawables in the lib will be used by Views in the UI thread.