# SweetRuler
**Repository Path**: yinxin/SweetRuler
## Basic Information
- **Project Name**: SweetRuler
- **Description**: No description available
- **Primary Language**: Android
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2018-05-08
- **Last Updated**: 2021-10-01
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
```
private long downTime;
//最小值
private int minValue;
//最大值
private int maxValue;
//每刻度 值
private float spacingValue;
//控件宽度
private float mWidth;
//控件高度
private float mHeight;
//刻度间隔距离
private float perWidth;
//短刻度高度
private float shortHeight;
//长刻度高度
private float longHeight;
//中线高度
private float middleHeight;
//刻度线宽
private float lineWidth;
//中刻度线宽
private float middleLineWidth;
//文字大小
private float textSize;
//刻度线颜色
private int lineColor;
//中线颜色
private int middleLineColor;
//文字颜色
private int textColor;
//大刻度间距
private int longSpacingValue;
//文字和长刻度距离
private float textMargin;
//刻度线画笔
private Paint linePaint;
//中线画笔
private Paint middlePaint;
//刻度文字画笔
private Paint mTextPaint;
//开始横坐标
private float startX;
//路径
private Path mPath;
//当前值
private int mCurrentValue;
//是否显示底线
private boolean showBaseLine;
```
