liquidswipe / com.jem.liquidswipe.base / ClipPathProvider / getPath

getPath

abstract fun getPath(percent: Float, view: View): Path

Generate the Path for the percent value to be applied in the view.

Parameters

percent - Reveal percentage

view - View on which to apply clipPath for reveal

Return path that can be used to clip the view.