FUCircleProgressView.h 1020 B

123456789101112131415161718192021222324
  1. //
  2. // CircleProgressView.h
  3. // ProgressView
  4. //
  5. // Created by zhao on 16/9/13.
  6. // Copyright © 2016年 zhaoName. All rights reserved.
  7. // 正常的圆形进度条
  8. #import <UIKit/UIKit.h>
  9. @interface FUCircleProgressView : UIView
  10. @property (nonatomic, strong) UIColor *progressColor; /**< 进度条颜色 默认红色*/
  11. @property (nonatomic, strong) UIColor *progressBackgroundColor; /**< 进度条背景色 默认灰色*/
  12. @property (nonatomic, assign) CGFloat progressWidth; /**< 进度条宽度 默认3*/
  13. @property (nonatomic, assign) float percent; /**< 进度条进度 0-1*/
  14. @property (nonatomic, assign) BOOL clockwise; /**< 0顺时针 1逆时针*/
  15. @property (nonatomic, strong) UILabel *centerLabel; /**< 记录进度的Label*/
  16. @property (nonatomic, strong) UIColor *labelbackgroundColor; /**<Label的背景色 默认clearColor*/
  17. @property (nonatomic, strong) UIColor *textColor; /**<Label的字体颜色 默认黑色*/
  18. @property (nonatomic, strong) UIFont *textFont; /**<Label的字体大小 默认15*/
  19. @end