writeTextToCanvas

Writes the given text into a new canvas. The canvas will be sized to fit the text. If text is blank, returns undefined.