Skip to content
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

Outlined label #203

Merged
merged 6 commits into from
Mar 18, 2024
Merged

Outlined label #203

merged 6 commits into from
Mar 18, 2024

Conversation

FoamyGuy
Copy link
Contributor

This adds a new class OutlinedLabel which is a subclass of BitmapLabel that allows specifying a stroke outline size and color to draw with the text. A new example is also provided to illustrate it's usage.

This feature requires 9.x due to API changes in displayio and bitmaptools.

I tested the example as well as a few additional usages with custom font successfully on PyPortal Titano and Feather S3 TFT.

@FoamyGuy FoamyGuy requested a review from a team March 15, 2024 22:25
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@tannewt tannewt merged commit 9d604e6 into adafruit:main Mar 18, 2024
1 check passed
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Mar 26, 2024
Updating https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SH1107 to 1.6.2 from 1.6.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_DisplayIO_SH1107#20 from FoamyGuy/display_root_group_fix

Updating https://github.com/adafruit/Adafruit_CircuitPython_HX8357 to 1.4.2 from 1.4.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_HX8357#23 from DJDevon3/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_Display_Text to 3.1.0 from 3.0.6:
  > Merge pull request adafruit/Adafruit_CircuitPython_Display_Text#203 from FoamyGuy/outlined_label

Updating https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing to 1.15.2 from 1.15.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_FeatherWing#82 from tekktrik/dev/change-arg-name

Updating https://github.com/adafruit/Adafruit_CircuitPython_RSA to 1.2.21 from 1.2.20:
  > Merge pull request adafruit/Adafruit_CircuitPython_RSA#41 from FoamyGuy/json_key_file_example

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Updated download stats for the libraries
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.

2 participants