text: //
  //  ZZCircleProgress.h
  //  ZZCircleProgressDemo
  //
  //  Created by 周兴 on 2018/5/16.
  //  Copyright © 2018年 zhouxing. All rights reserved.
  //
  
  #import <UIKit/UIKit.h>
  #import "ZZCountingLabel.h"
  
  #define ZZCircleDegreeToRadian(d) ((d)*M_PI)/180.0
  #define ZZCircleRGB(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]
  #define ZZCircleSelfWidth self.frame.size.width
  #define ZZCircleSelfHeight self.frame.size.height
  
  @interface ZZCircleProgress : UIView
  
  // 环对外的宽度
  @property(nonatomic) CGFloat zzborderWidth;
  // 进度的宽度
  @property(nonatomic) CGFloat progressStrokeWidth;
  
  //图形定制
  @property (nonatomic, strong) UIColor *pathBackColor;/**<线条背景色*/
  @property (nonatomic, strong) UIColor *pathFillColor;/**<线条填充色*/
  @property (nonatomic, strong) UIImageView *pointImage;/**<小圆点图片*/
  @property (nonatomic, strong) ZZCountingLabel *progressLabel;
  
  //角度相关
  @property (nonatomic, assign) CGFloat startAngle;/**<起点角度。角度从水平右侧开始为0，顺时针为增加角度。直接传度数 如-90 */
  @property (nonatomic, assign) CGFloat reduceAngle;/**<减少的角度 直接传度数 如30*/
  @property (nonatomic, assign) CGFloat strokeWidth;/**<线宽*/
  
  @property (nonatomic, assign) CGFloat duration;/**<动画时长*/
  
  @property (nonatomic, assign) BOOL showPoint;/**<是否显示小圆点*/
  @property (nonatomic, assign) BOOL showProgressText;/**<是否显示文字*/
  @property (nonatomic, assign) BOOL increaseFromLast;/**<是否从上次数值开始动画，默认为NO*/
  
  //进度
  @property (nonatomic, assign) CGFloat progress;/**<进度 0-1 */
  
  /**
   初始化
  
   @param frame 使用自动布局时传CGRectZero
   @param pathBackColor 背景线条色
   @param pathFillColor 填充线条色
   @param startAngle 开始角度
   @param strokeWidth 线条宽度
   @return ZZCircleProgress
   */
  - (instancetype)initWithFrame:(CGRect)frame
                  pathBackColor:(UIColor *)pathBackColor
                  pathFillColor:(UIColor *)pathFillColor
                     startAngle:(CGFloat)startAngle
                    strokeWidth:(CGFloat)strokeWidth;
  
  @end
  