private void setupPaints() {
this.circlePaint.setAntiAlias(true);
this.circlePaint.setStrokeWidth((float) this.mStrokeWidth);
this.circlePaint.setStyle(Style.STROKE);
this.circlePaint.setColor(this.mBackgroundColor);
this.fillPaint.setAntiAlias(true);
this.fillPaint.setStrokeWidth((float) this.mStrokeWidth);
this.fillPaint.setStyle(Style.STROKE);
this.fillPaint.setStrokeJoin(Join.ROUND);
this.fillPaint.setColor(this.mProgressColor);
if (this.mIsCapRound) {
this.circlePaint.setStrokeCap(Cap.ROUND);
this.fillPaint.setStrokeCap(Cap.ROUND);
}
}
CircularProgressBar.java 文件源码
java
阅读 30
收藏 0
点赞 0
评论 0
项目:boohee_v5.6
作者:
评论列表
文章目录