Skip to content

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

@mr-wind

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();
}

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