liquidswipe / com.jem.liquidswipe.base / ClipPathProvider

ClipPathProvider

abstract class ClipPathProvider

Abstract class that should be extended by other ClipPathProvider classes.

Constructors

Name Summary
<init> ClipPathProvider()
Abstract class that should be extended by other ClipPathProvider classes.

Properties

Name Summary
op var op: Op
Region.Op variable that is used in android.graphics.Canvas.clipPath in the EasyRevealLayouts
path var path: Path
Path variable that should be used to make the path to be returned in getPath function.

Functions

Name Summary
getPath abstract fun getPath(percent: Float, view: View): Path
Generate the Path for the percent value to be applied in the view.

Inheritors

Name Summary
LiquidSwipeClipPathProvider class LiquidSwipeClipPathProvider : ClipPathProvider
ClipPathProvider which provides LiquidSwipe path.