ClippableRoundedCornerLayout

Wrapper layout for rendering and animating rounded corners with clip bounds.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, defStyleAttr: Int)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun updateClipBoundsAndCornerRadius(@NonNull rect: Rect, cornerRadius: Float)
open fun updateClipBoundsAndCornerRadius(@NonNull rectF: RectF, cornerRadius: Float)
open fun updateClipBoundsAndCornerRadius(left: Float, top: Float, right: Float, bottom: Float, cornerRadius: Float)
Link copied to clipboard
open fun updateCornerRadius(cornerRadius: Float)