ShapeAppearancePathProvider

Constructors

Link copied to clipboard
constructor()

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 path
Link copied to clipboard
Most drawables in the lib will be used by Views in the UI thread.