Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ImageBitmapRenderingContext

Hierarchy

  • ImageBitmapRenderingContext

Index

Properties

Methods

Properties

canvas

Returns the canvas element that the context is bound to.

Methods

transferFromImageBitmap

  • transferFromImageBitmap(bitmap: ImageBitmap | null): void
  • Replaces contents of the canvas element to which context is bound with a transparent black bitmap whose size corresponds to the width and height content attributes of the canvas element.

    Parameters

    Returns void

Generated using TypeDoc