The width of the image in pixels.
The height of the image in pixels.
Returns an blank SVG image with the specified dimensions and background color. The image result is returned as a base64 data URI
The width of the image in pixels
The height of the image in pixels
The fillColor. A hex-string or the keyword 'none' for a transparent picture
Returns the dimensions of the specified image, or null if unable to do so.
The image data.
Returns a promise that will resolve when the provided image element has loaded, or when the timeoutMs number of milliseconds have elapsed.
The element to wait for.
The timeout in milliseconds.
Generated using TypeDoc
Returns a blank GIF image with the specified dimensions.