@@ -66,24 +66,24 @@ class Label(displayio.Group):
66
66
Must include a capital M for measuring character size.
67
67
:param str text: Text to display
68
68
:param int max_glyphs: Unnecessary parameter (provided only for direct compability
69
- with label.py)
69
+ with label.py)
70
70
:param int color: Color of all text in RGB hex
71
71
:param int background_color: Color of the background, use `None` for transparent
72
72
:param double line_spacing: Line spacing of text to display
73
73
:param boolean background_tight: Set `True` only if you want background box to tightly
74
- surround text
74
+ surround text
75
75
:param int padding_top: Additional pixels added to background bounding box at top
76
76
:param int padding_bottom: Additional pixels added to background bounding box at bottom
77
77
:param int padding_left: Additional pixels added to background bounding box at left
78
78
:param int padding_right: Additional pixels added to background bounding box at right
79
79
:param (double,double) anchor_point: Point that anchored_position moves relative to.
80
- Tuple with decimal percentage of width and height.
81
- (E.g. (0,0) is top left, (1.0, 0.5): is middle right.)
80
+ Tuple with decimal percentage of width and height.
81
+ (E.g. (0,0) is top left, (1.0, 0.5): is middle right.)
82
82
:param (int,int) anchored_position: Position relative to the anchor_point. Tuple
83
- containing x,y pixel coordinates.
83
+ containing x,y pixel coordinates.
84
84
:param int scale: Integer value of the pixel scaling
85
85
:param bool save_text: Set True to save the text string as a constant in the
86
- label structure. Set False to reduce memory use.
86
+ label structure. Set False to reduce memory use.
87
87
"""
88
88
89
89
# pylint: disable=unused-argument, too-many-instance-attributes, too-many-locals, too-many-arguments
0 commit comments