FUCircleProgressView.h 1.0 KB

1234567891011121314151617181920212223242526
  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. #import <Masonry/Masonry.h>
  10. #import "FULiveDefine.h"
  11. @interface FUCircleProgressView : UIView
  12. @property (nonatomic, strong) UIColor *progressColor; /**< 进度条颜色 默认红色*/
  13. @property (nonatomic, strong) UIColor *progressBackgroundColor; /**< 进度条背景色 默认灰色*/
  14. @property (nonatomic, assign) CGFloat progressWidth; /**< 进度条宽度 默认3*/
  15. @property (nonatomic, assign) float percent; /**< 进度条进度 0-1*/
  16. @property (nonatomic, assign) BOOL clockwise; /**< 0顺时针 1逆时针*/
  17. @property (nonatomic, strong) UILabel *centerLabel; /**< 记录进度的Label*/
  18. @property (nonatomic, strong) UIColor *labelbackgroundColor; /**<Label的背景色 默认clearColor*/
  19. @property (nonatomic, strong) UIColor *textColor; /**<Label的字体颜色 默认黑色*/
  20. @property (nonatomic, strong) UIFont *textFont; /**<Label的字体大小 默认15*/
  21. @end