TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Jan 2016 |
Maintained by LeoMobileDeveloper.
LeoMaskAnimationKit is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "LeoMaskAnimationKit"
Should in same coordinate when using mask
Circle view mask
-(void)leo_animateCircleMaskWithduration:(NSTimeInterval)duration
delay:(NSTimeInterval)delay
clockwise:(BOOL)clockwise
options:(LeoMaskAnimationOptions)options
compeletion:(void(^)(void))completion;
Mask a view from any direction
-(void)leo_animateRectExpandDirection:(LeoMaskAnimationDirections)directions
duration:(NSTimeInterval)duration
delay:(NSTimeInterval)delay
options:(LeoMaskAnimationOptions)options
compeletion:(void(^)(void))completion;
Mask between rects
-(void)leo_animateMaskFromRect:(CGRect)fromRect
toRect:(CGRect)toRect
duration:(NSTimeInterval)duration
delay:(NSTimeInterval)delay
options:(LeoMaskAnimationOptions)options
compeletion:(void(^)(void))completion;
Mask between path
-(void)leo_animateMaskFromPath:(UIBezierPath *)fromPath
toPath:(UIBezierPath *)toPath
duration:(NSTimeInterval)duration
delay:(NSTimeInterval)delay
options:(LeoMaskAnimationOptions)options
compeletion:(void(^)(void))completion;
leoMobileDeveloper, [email protected]
LeoMaskAnimationKit is available under the MIT license. See the LICENSE file for more info.