CanvasPattern Class
A pattern of a canvas (https://html.spec.whatwg.org/multipage/canvas.html#canvaspattern): an image repeated in the directions of its repetition behavior, created by createPattern(). The image is a snapshot of the source when the pattern is created (later changes of a canvas source are not reflected).
public sealed class CanvasPatternMethods
| Name | Description |
|---|---|
| SetTransform(DomMatrix2DInit?) | Sets the transformation matrix of the pattern (https://html.spec.whatwg.org/multipage/canvas.html#dom-canvaspattern-settransform): a matrix with a non-finite component is ignored. |
SetTransform(DomMatrix2DInit?)
CanvasPattern.csSets the transformation matrix of the pattern (https://html.spec.whatwg.org/multipage/canvas.html#dom-canvaspattern-settransform): a matrix with a non-finite component is ignored.
public void SetTransform(DomMatrix2DInit? transform = null)Parameters
transformDomMatrix2DInit?
Exceptions
TypeErrorException- The members of the dictionary are inconsistent.