Skip to content

CanvasPattern

Generated from idl/canvas.webidl when the site was built at 7aa23e2.

CanvasPattern is an interface in idl/canvas.webidl, exposed in Window, Worker. What it does is on MDN; this page says what niso has of it.

The web features its members belong to, each with its Baseline status on the web and how much of the feature’s WPT suite passes in niso (see Web platform support).

Feature On the web In niso Members
2D canvas Widely available Partial 77% 1209 of 1553 subtests pass 2
operation
[NisoGlue] undefined setTransform(optional any transform = null);
operation not in JS
[NisoInternal] undefined setMatrix(unrestricted double a, unrestricted double b, unrestricted double c, unrestricted double d, unrestricted double e, unrestricted double f);
int32_t niso_canvas_pattern_set_matrix(niso_dom* dom, niso_handle self, double a, double b, double c, double d, double e, double f);