Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setProgressStrokeWidth(float progressStrokeWidth)方法无效,是不是遗漏了设置给两个画笔? #31

Open
quibbler01 opened this issue Jul 29, 2022 · 0 comments

Comments

@quibbler01
Copy link

quibbler01 commented Jul 29, 2022

修改如下:

    public void setProgressStrokeWidth(float progressStrokeWidth) {
        mProgressStrokeWidth = progressStrokeWidth;
		
	/**将重新设置的Stroke Width值设置给画笔*/
        mProgressPaint.setStrokeWidth(mProgressStrokeWidth);
        mProgressBackgroundPaint.setStrokeWidth(mProgressStrokeWidth);

        ...
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant