liquidswipe / com.jem.liquidswipe.layout / LiquidSwipeConstraintLayout

LiquidSwipeConstraintLayout

open class LiquidSwipeConstraintLayout : ConstraintLayout, LiquidSwipeLayout

LiquidSwipeConstraintLayout is a custom ConstraintLayout that implements LiquidSwipeLayout.

Constructors

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