Text
A text is a drawable that can be used to display text on the matrix. If the text overflows the canvas, it will start scrolling.
setText(text)
Sets the text to be displayed.
Example
Parameters
Parameter | Type | Description |
---|---|---|
text | str | The text to be displayed. |
Returns
None
setFont(font)
Sets the font to be used to display the text.
Example
Parameters
Parameter | Type | Description |
---|---|---|
font | str | The font to be used. |
Returns
None