# RenderingContext

Canvas Drawing context.

  • adopt Canvas.getContext('2d') Interface can be obtained CanvasRenderingContext2D Object that implements the HTML Canvas 2D Context Defines a property or method.
  • adopt Canvas.getContext('webgl') or OffscreenCanvas.getContext('webgl') Interface can be obtained WebGLRenderingContext Object that implements the WebGL 1.0 All properties, methods, and constants defined by the.
  • CanvasRenderingContext2D of drawImage method 2.10.0 Start Support Incoming Pass SelectorQuery Acquired video object

# sample code

video Draw to 2D Canvas Example Preview with Developer Tool