单军华
2018-04-20 2197e837490f5083d18d9fdb97265d1e0f04832a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//
//  LBXScanLineAnimation.h
//
//  github:https://github.com/MxABC/LBXScan
//  Created by lbxia on 15/11/3.
//  Copyright © 2015年 lbxia. All rights reserved.
//
 
#import <UIKit/UIKit.h>
 
@interface LBXScanLineAnimation : UIImageView
 
 
 
/**
 *  开始扫码线动画
 *
 *  @param animationRect 显示在parentView中得区域
 *  @param parentView    动画显示在UIView
 *  @param image     扫码线的图像
 */
- (void)startAnimatingWithRect:(CGRect)animationRect InView:(UIView*)parentView Image:(UIImage*)image;
 
/**
 *  停止动画
 */
- (void)stopAnimating;
 
@end