GraphicAssignment.getMatrix() method
Get a DOMMatrix
representing the 2D transform suitable for use with a CanvasPattern
.
Signature:
getMatrix(size: number): DOMMatrix;
Parameters
Parameter |
Type |
Description |
---|---|---|
size |
number |
DOMMatrix
Remarks
The target CanvasPattern for this matrix should be resized to size
prior to applying the matrix.