Corner Treatment
A basic corner treatment (a single point which does not affect the shape).
Note: For corner treatments which result in a concave shape, the parent view must disable clipping of children by calling setClipChildren, or by setting `android:clipChildren="false"` in xml. `clipToPadding` may also need to be false if there is any padding on the parent that could intersect the shadow.
Inheritors
Functions
Link copied to clipboard
open fun getCornerPath(@NonNull shapePath: ShapePath, angle: Float, interpolation: Float, @NonNull bounds: RectF, @NonNull size: CornerSize)
Generates a ShapePath for this corner treatment.
open fun getCornerPath(@NonNull shapePath: ShapePath, angle: Float, interpolation: Float, radius: Float)
Generates a ShapePath using a single radius value for this corner treatment.