W3cubDocs

/Haxe JavaScript

CanvasPattern

package js.html

Available on js

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:

Methods

setTransform (matrix:Matrix):Void

Applies an SVGMatrix representing a linear transform to the pattern.

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/CanvasPattern.html