Skip to content

GraphRenderer.getBackgroundScreenshot method

GraphRenderer › getBackgroundScreenshot

Unofficial

Capture a screenshot of the graph with the background included.

Signature:

getBackgroundScreenshot(): HTMLCanvasElement

Returns: HTMLCanvasElement — The canvas element containing the screenshot.