Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

Viewer.ViewerCanvasContext

class vncsdk.Viewer.ViewerCanvasContext(canvas[, opaque])

A ViewerCanvasContext is a helper class which caches a CanvasRenderingContext2D between calls to Viewer.putViewerFbData().

Arguments:
  • canvas (HTMLCanvasElement) –
  • opaque (boolean) – Defaults to true
×