DOMMatrix setTransform/getTransform on OffscreenCanvas

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

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

De-facto standard

Status in Chromium

Blink


In development (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 public signals
  • No public signals
  • No signals

Owner

Last updated on 2019-11-05