Skip to content

GraphRenderer.getBackgroundScreenshot method

GraphRenderer › getBackgroundScreenshot

Unofficial

Capture a screenshot of the graph with the background included.

Signature:

getBackgroundScreenshot(): HTMLCanvasElement

Returns: HTMLCanvasElementThe canvas element containing the screenshot.