liquidswipe / com.jem.liquidswipe.layout / LiquidSwipeLinearLayout

LiquidSwipeLinearLayout

open class LiquidSwipeLinearLayout : LinearLayout, LiquidSwipeLayout

LiquidSwipeLinearLayout is a custom LinearLayout that implements LiquidSwipeLayout.

Constructors

Name Summary
<init> LiquidSwipeLinearLayout(context: Context?)
LiquidSwipeLinearLayout(context: Context?, attrs: AttributeSet?)
LiquidSwipeLinearLayout(context: Context?, attrs: AttributeSet?, defStyleAttr: Int)
LiquidSwipeLinearLayout(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.