File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 39
39
40
40
class Label (LabelBase ):
41
41
"""A label displaying a string of text that is stored in a bitmap.
42
- Note: This ``bitmap_label.py`` library utilizes a bitmap to display the text.
43
- This method is memory-conserving relative to ``label.py``.
42
+ Note: This ``bitmap_label.py`` library utilizes a :py:class:`~displayio.Bitmap`
43
+ to display the text. This method is memory-conserving relative to ``label.py``.
44
44
45
45
For further reduction in memory usage, set ``save_text=False`` (text string will not
46
46
be stored and ``line_spacing`` and ``font`` are immutable with ``save_text``
@@ -537,5 +537,9 @@ def _get_valid_label_directions(self) -> Tuple[str, ...]:
537
537
538
538
@property
539
539
def bitmap (self ):
540
- """The Bitmap object that the text and background are drawn into."""
540
+ """
541
+ The Bitmap object that the text and background are drawn into.
542
+
543
+ :rtype: displayio.Bitmap
544
+ """
541
545
return self ._bitmap
You can’t perform that action at this time.
0 commit comments