liquidswipe / com.jem.liquidswipe.layout / LiquidSwipeConstraintLayout


open class LiquidSwipeConstraintLayout : ConstraintLayout, LiquidSwipeLayout

LiquidSwipeConstraintLayout is a custom ConstraintLayout that implements LiquidSwipeLayout.


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


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.


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.