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

**Returns:**

DOMMatrix

Remarks

The target CanvasPattern for this matrix should be resized to size prior to applying the matrix.

Get in touch

We'd love to learn more about your vision and how we can help.

PressPrivacyTermsSupportCopyright © 2024 Core3D, Inc. All Rights Reserved.