easyreveal / com.jem.easyreveal.clippathproviders / SweepClipPathProvider
SweepClipPathProvider
class SweepClipPathProvider : ClipPathProvider
ClipPathProvider which provides a Sweep type path, which is basically a circular segment.
Constructors
| Name | Summary |
|---|---|
| <init> | SweepClipPathProvider(x: Float, y: Float)SweepClipPathProvider()ClipPathProvider which provides a Sweep type path, which is basically a circular segment. |
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. |
| setCircleCenter | fun setCircleCenter(x: Float, y: Float): UnitSet center of the circle where the reveal animation will begin/end. |