//
// LatticeProgressView.h
// LatticeProgress
//
// Created by wcw on 15/8/19.
// Copyright (c) 2015年 wcw. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface LatticeProgressView : UIView
@property (readwrite, nonatomic) float value; //进度值
@property (readwrite, nonatomic) float maxLimit; //最大值
@property (readwrite, nonatomic) float minLimit; //最小值
@property (readwrite, nonatomic) int numBars; //方格数量
@property (readwrite, nonatomic) BOOL reverse; //反向进度条
@property (readwrite, retain) UIColor *borderColor; //内边框颜色
@property (readwrite, retain) UIColor *backgroundColor; //背景色
@property (readwrite, retain) UIColor *selectBarColor; //进度条颜色
@property (readwrite, retain) UIColor *unSelectBarColor; //进度条颜色
typedef enum {
rectangleTypeNormal = 1,
rectangleTypeRounded,
rectangleTypeCircular,
}rectangleType;
-(id) initWithFrame:(CGRect)frame withType:(rectangleType)rectangleType;
@end
评论0