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