document to embed image in
image file path, or image buffer (buffer not yet implemented)
Embeds data as an image on the document. To use this image pass to Painter.drawImage. New instances will reuse embedded img object if passed the same image reference.
{TypeError} - throw type error on invalid arguments.
img data
void
Generated using TypeDoc