easyreveal / com.jem.easyreveal.clippathproviders / RandomLineClipPathProvider
RandomLineClipPathProvider
class RandomLineClipPathProvider : ClipPathProvider
ClipPathProvider which provides path which consists of random strips of rectangles (AKA, lines).
Types
| Name | Summary | 
|---|---|
| LineOrientation | enum class LineOrientationOrientation of the rectangular strips.  | 
    
Constructors
| Name | Summary | 
|---|---|
| <init> | RandomLineClipPathProvider(lineOrientation: RandomLineClipPathProvider.LineOrientation = LineOrientation.HORIZONTAL)RandomLineClipPathProvider()ClipPathProvider which provides path which consists of random strips of rectangles (AKA, lines). | 
    
Properties
| Name | Summary | 
|---|---|
| lineOrientation | var lineOrientation: RandomLineClipPathProvider.LineOrientationOrientation of the reveal animation lines.  | 
    
| randomLineArrayList | var randomLineArrayList: ArrayList<Int>ArrayList of random integers in the range 1..100  | 
    
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.  |