Skip to content

Commit 934c380

Browse files
committed
bitmap property for bitmap_label
1 parent c31c0ef commit 934c380

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

adafruit_display_text/bitmap_label.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,3 +534,8 @@ def _set_label_direction(self, new_label_direction: str) -> None:
534534

535535
def _get_valid_label_directions(self) -> Tuple[str, ...]:
536536
return "LTR", "RTL", "UPD", "UPR", "DWR"
537+
538+
@property
539+
def bitmap(self):
540+
"""The Bitmap object that the text and background are drawn into."""
541+
return self._bitmap

0 commit comments

Comments
 (0)