File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -152,9 +152,10 @@ def add_text(
152
152
example.
153
153
:param text_color: The color of the text, in 0xRRGGBB format. Can be a list of colors for
154
154
when there's multiple texts. Defaults to ``None``.
155
- :param text_wrap: Whether or not to wrap text (for long text data chunks). Defaults to
156
- ``False``, no wrapping.
157
- :param text_maxlen: The max length of the text for text wrapping. Defaults to 0.
155
+ :param text_wrap: When non-zero, the maximum number of characters on each line before text
156
+ is wrapped. (for long text data chunks). Defaults to 0, no wrapping.
157
+ :param text_maxlen: The max length of the text. If non-zero, it will be truncated to this
158
+ length. Defaults to 0.
158
159
:param text_transform: A function that will be called on the text before display
159
160
:param int text_scale: The factor to scale the default size of the text by
160
161
:param bool scrolling: If true, text is placed offscreen and the scroll() function is used
You can’t perform that action at this time.
0 commit comments