MaskableFrameLayout

open class MaskableFrameLayout : FrameLayout, Maskable, Shapeable

A FrameLayout than is able to mask itself and all children.

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 getFocusedRect(r: Rect)
Link copied to clipboard
Gets a RectF that this View is masked itself by.
Link copied to clipboard
open fun onTouchEvent(event: MotionEvent): Boolean
Link copied to clipboard
Set whether this view should always use canvas clipping to clip to its masked shape.
Link copied to clipboard
open fun setMaskRectF(@NonNull maskRect: RectF)
Sets the RectF that this View will be masked by.
Link copied to clipboard