File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 2222"""
2323`adafruit_display_text.label`
2424====================================================
25+
2526Displays text labels using CircuitPython's displayio.
27+
2628* Author(s): Scott Shawcroft
29+
2730Implementation Notes
2831--------------------
32+
2933**Hardware:**
3034**Software and Dependencies:**
35+
3136* Adafruit CircuitPython firmware for the supported boards:
3237 https://github.com/adafruit/circuitpython/releases
38+
3339"""
3440
3541import displayio
@@ -43,17 +49,14 @@ class Label(displayio.Group):
4349 properties will be the left edge of the bounding box, and in the center of a M
4450 glyph (if its one line), or the (number of lines * linespacing + M)/2. That is,
4551 it will try to have it be center-left as close as possible.
46-
52+
4753 :param Font font: A font class that has ``get_bounding_box`` and ``get_glyph``.
4854 Must include a capital M for measuring character size.
4955 :param str text: Text to display
5056 :param int max_glyphs: The largest quantity of glyphs we will display
5157 :param int color: Color of all text in RGB hex
5258 :param double line_spacing: Line spacing of text to display"""
5359
54- # pylint: disable=too-many-instance-attributes
55- # This has several getters and setters, maybe needs to be cleaned up.
56-
5760 def __init__ (
5861 self ,
5962 font ,
You can’t perform that action at this time.
0 commit comments