Skip to content

Conversation

@radarhere
Copy link
Member

Resolves #9383

rounded_rectangle() first draws the corners of the rectangle, and then joins them together if necessary. This improves the check for when it is on the threshold of being necessary to vertically join left and right parts or not.

@hugovk hugovk merged commit e2b87a0 into python-pillow:main Jan 12, 2026
56 checks passed
@radarhere radarhere deleted the rounded_rectangle branch January 12, 2026 10:22
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.

rounded_rectangle produces black vertical line in edge case

2 participants