Skip to content

Conversation

@FoamyGuy
Copy link

@ladyada

Resolves: #63

I opted to make a new FilledPolygon class instead of adding support to existing Polygon directly so that anyone who wants to use the traditional one doesn't have to gain the overhead of an extra Group, or have their code broken if it used some of the superclass TileGrid's attributes.

Not strictly related to the fill support, but I also added the ability to set a stroke on the existing Polygon (and the new FilledPolygon). All of the other shapes support a stroke value for the thickness of their outline, but Polygon didn't before.

@FoamyGuy FoamyGuy merged commit 50d81fd into adafruit:main Nov 18, 2024
1 check passed
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Nov 19, 2024
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.

Fill for polygons

2 participants