BarChart.java 文件源码

java
阅读 30 收藏 0 点赞 0 评论 0

项目:boohee_v5.6 作者:
private void init(Context context) {
    setLayerType(1, null);
    this.mContext = context;
    this.mBackgroundPaint = new Paint();
    this.mBackgroundPaint.setStrokeWidth(2.0f);
    this.mBackgroundPaint.setAntiAlias(true);
    this.mBackgroundPaint.setColor(-5056771);
    this.mBackgroundPaint.setStyle(Style.STROKE);
    this.mColumnPaint = new Paint();
    this.mColumnPaint.setAntiAlias(true);
    this.mColumnPaint.setStyle(Style.FILL);
    this.mColumnPaint.setColor(-12477447);
    this.mLinePaint = new Paint();
    this.mLinePaint.setAntiAlias(true);
    this.mLinePaint.setStyle(Style.STROKE);
    this.mLinePaint.setColor(-5056771);
    this.mLinePaint.setStrokeWidth(1.0f);
    this.mLinePaint.setPathEffect(new DashPathEffect(new float[]{aj.hA, aj.hA}, 0.0f));
    this.mBackgroundRect = new RectF();
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号