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

建议背景绘制也加上抗锯齿! #2

Open
mr-wind opened this issue Jul 20, 2016 · 0 comments
Open

建议背景绘制也加上抗锯齿! #2

mr-wind opened this issue Jul 20, 2016 · 0 comments

Comments

@mr-wind
Copy link

mr-wind commented Jul 20, 2016

private void drawBackground(Canvas canvas) {
mPaint.setColor(mCurrentColor);
mPaint.setAntiAlias(true);//背景绘制抗锯齿
mPaint.setStyle(Paint.Style.FILL);
canvas.drawPath(mBackgroundPath, mPaint);
mPaint.reset();
}

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