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: ClipPathProviderClipPathProvider provides the path used for clipping. |
| currentRevealPercent | open var currentRevealPercent: FloatPercentage of the view currently revealed. |
Functions
| Name | Summary |
|---|---|
| draw | open fun draw(canvas: Canvas?): UnitOverriden from View |
| revealForPercentage | open fun revealForPercentage(percent: Float): UnitUpdate view to specified reveal percentage. |