Skip to content

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

Description

@mr-wind

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions