The CanvasPattern interface represents an opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method.

Documentation CanvasPattern by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Methods

setTransform(matrix:Matrix):Void

Applies an SVGMatrix representing a linear transform to the pattern.