Writes the given text into a new canvas.  The canvas will be sized to fit the text.
If text is blank, returns undefined.
    
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
text | 
            
            String | The text to write. | ||||||||||||||||||||||||||||||||||||||||
options | 
            
            Object | 
            
                
                        optional
                
                
                
            
                Object with the following properties:
                
  | 
        
Returns:
    A new canvas with the given text drawn into it.  The dimensions object
                  from measureText will also be added to the returned canvas. If text is
                  blank, returns undefined.
    
