- text
text - content
The text() function creates a new TextImage from a string. The text in the image can be styled via the various text functions, such as font(), fill(), stroke(), outline(), wrap().
text() will take a pattern, meaning it can be animated. If you want raw text, remember to use single quotes.
| parameter | type |
|---|---|
| content |
|
| returns |