Adds setTransform(DOMMatrix2DInit) and getTransform() to OffscreenCanvasRenderingContext2D.

Motivation

This feature exists and is supported currently for CanvasRenderingContext2D. The WHATWG spec states that OffscreenCanvasRenderingContext2D implements all canvas transform methods, and this is one of the canvas transform methods listed there. Without it it is impossible for a web developer to get the current value of a canvas' transform if it is offscreen.

Documentation

Specification

Specification link


Unknown standards status - check spec link for status

Status in Chromium

Blink


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • In development
  • No signal
  • No signal
  • No signals

Owner

Search tags

canvas, offscreencanvas, gettransform,

Last updated on 2021-08-16