// // AFDescribeObj.h // animationFrame // // Created by pingshw on 14-5-27. // Copyright (c) 2014年 pingshw. All rights reserved. // #import typedef enum { AFAnimationStrokeEnd = 0 }AFAnimationType; @interface AFDescribeObj : NSObject @property (nonatomic, weak) UIView *containerView; @property (nonatomic) AFAnimationType type; @property (nonatomic, strong) NSArray *shapeLayers; @property (nonatomic, strong) CABasicAnimation *basicAnimation; - (id)initWithType:(AFAnimationType)af_type inView:(UIView *)view; - (void)setStartTime:(CGFloat)af_startTime andDuration:(CGFloat)af_duration; - (void)addLineFrom:(CGPoint)from toPoint:(CGPoint)to color:(UIColor *)color; @end