easyreveal / com.jem.easyreveal.clippathproviders / LinearClipPathProvider
LinearClipPathProvider
class LinearClipPathProvider : ClipPathProvider
ClipPathProvider which provides a Rectangular path used to clip the view in a singular direction.
Types
| Name | Summary | 
|---|---|
| Direction | enum class DirectionDirection of the reveal animation. | 
Constructors
| Name | Summary | 
|---|---|
| <init> | LinearClipPathProvider(direction: LinearClipPathProvider.Direction)LinearClipPathProvider()ClipPathProvider which provides a Rectangular path used to clip the view in a singular direction. | 
Properties
| Name | Summary | 
|---|---|
| direction | var direction: LinearClipPathProvider.DirectionDirection of the linear reveal. | 
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. |