liquidswipe / com.jem.liquidswipe.layout / LiquidSwipeFrameLayout

LiquidSwipeFrameLayout

open class LiquidSwipeFrameLayout : FrameLayout, LiquidSwipeLayout

LiquidSwipeFrameLayout is a custom FrameLayout that implements LiquidSwipeLayout.

Constructors

Name Summary
<init> LiquidSwipeFrameLayout(context: Context)
LiquidSwipeFrameLayout(context: Context, attrs: AttributeSet?)
LiquidSwipeFrameLayout(context: Context, attrs: AttributeSet?, defStyleAttr: Int)
LiquidSwipeFrameLayout(context: Context, attrs: AttributeSet?, defStyleAttr: Int, defStyleRes: Int)

Properties

Name Summary
clipPathProvider open var clipPathProvider: ClipPathProvider
ClipPathProvider provides the path used for clipping.
currentRevealPercent open var currentRevealPercent: Float
Percentage of the view currently revealed.

Functions

Name Summary
draw open fun draw(canvas: Canvas?): Unit
Overriden from View
revealForPercentage open fun revealForPercentage(percent: Float): Unit
Update view to specified reveal percentage.