easyreveal / com.jem.easyreveal.clippathproviders / SweepClipPathProvider / getPath

getPath

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

Overrides ClipPathProvider.getPath

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.