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: Float
Initial horizontal radius of the wave
initialSideWidth var initialSideWidth: Float
Initial revealed side width
initialVerticalRadius var initialVerticalRadius: Float
Initial vertical radius of the wave
waveCenterY var waveCenterY: Float
Center of the wave

Inherited 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 fun getPath(percent: Float, view: View): Path
Generate the Path for the percent value to be applied in the view.