Shapeable Delegate
A delegate able to handle logic for when and how to mask/clip a View based on the View's and mask bounds.
Functions
Link copied to clipboard
Link copied to clipboard
Called whenever the bounds of the clients mask changes.
Link copied to clipboard
open fun onShapeAppearanceChanged(@NonNull view: View, @NonNull shapeAppearanceModel: ShapeAppearanceModel)
Called whenever the ShapeAppearanceModel of the client changes.
Link copied to clipboard
Set whether the client would like to always use compat clipping regardless of whether other means are available.
Link copied to clipboard
Set whether the delegate should attempt to alter the mask bounds of shapes that are symmetrical along a single axis in order to use ViewOutlineProvider for clipping on 22-32 where only fully symmetrical shapes can be clipped.