Skip to content

Modify drawSmoothArc to support a separate background color for arc ends #3707

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

The-Young-Maker
Copy link

This change enhances the drawSmoothArc function so that you can specify a different background color for the arc ends, while still using the original background color for the sides. This is particularly useful for drawing progress "circles" with distinct background treatments, as seen in my project.

The updated function is 100% backward compatible.

Before:
Before

After:
After

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

Successfully merging this pull request may close these issues.

1 participant