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;
sweetruler's Introduction
sweetruler's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.