liquidswipe / com.jem.liquidswipe.clippathprovider / LiquidSwipeClipPathProvider
LiquidSwipeClipPathProvider
class LiquidSwipeClipPathProvider : ClipPathProvider
ClipPathProvider which provides LiquidSwipe path.
Constructors
| Name | Summary |
|---|---|
| <init> | LiquidSwipeClipPathProvider()ClipPathProvider which provides LiquidSwipe path. |
Properties
| Name | Summary |
|---|---|
| initialHorizontalRadius | var initialHorizontalRadius: FloatInitial horizontal radius of the wave |
| initialSideWidth | var initialSideWidth: FloatInitial revealed side width |
| initialVerticalRadius | var initialVerticalRadius: FloatInitial vertical radius of the wave |
| waveCenterY | var waveCenterY: FloatCenter of the wave |
Inherited Properties
| Name | Summary |
|---|---|
| op | var op: OpRegion.Op variable that is used in android.graphics.Canvas.clipPath in the EasyRevealLayouts |
| path | var path: PathPath variable that should be used to make the path to be returned in getPath function. |
Functions
| Name | Summary |
|---|---|
| getPath | fun getPath(percent: Float, view: View): PathGenerate the Path for the percent value to be applied in the view. |