The Text Used on the Image
The optional settings for the image
the png/base64 encoded dataurl to used as an image source
wrapText takes the incoming text and fits it the context of the image. Nothing is returned as the text value is applied directly to the canvas context.
The Context to Apply Text To
The Text to be applied to the Context
The Line Height Used when breaking the Text value across multiple lines
Generated using TypeDoc
defaultImage Generates a png image with the text provided vertically and horizontally aligned to center.