HTML Div element that contains the rendering Engine.
Restore Mouse style.
Scale of Engine. (Screen)
Set Mouse style.
Capture state of rendering Engines canvas. Returns the captured image as a Blob-object.
Has two optional parameters which directly reference JavaScript API HTMLCanvasElement.toDataURL:
https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL
A DOMString indicating the image format. The default format type is image/png.
A Number between 0 and 1 indicating the image quality to use for image formats that use lossy compression such as image/jpeg and image/webp. If this argument is anything else, the default value for image quality is used. The default value is 0.92. Other arguments are ignored.
JavaScript Blob whose 'type' depends on what was passed to 'type' parameter of this method. Defaults to image/png
Translates client location (that originates at top-left of browser) to engines space (originated at engine canvas' bottom-left)
Location of X in browser
Location of Y in browser
Translates engine location (originated at engine canvas' bottom-left) to client space (that originates at top-left of browser).
Location of X in engine
Location of Y in engine
Calculate the layout again. This should be called when the container of chart is resized.
Render a frame of specific size to a ArrayBuffer.
Mainly for Node JS usage. In browser the chart itself will not be resized correctly.
Horizontal resolution
Vertical resolution
Leave the image upside down
Interface for public parts of engine.