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: 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. |