Skip to content

Matrix

Unofficial

2D transformation matrix.

Import:

import type { Matrix } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export class Matrix

Properties

Property Type Description
a number Scale X.
b number Shear Y.
c number Shear X.
d number Scale Y.
tx number Translate X.
ty number Translate Y.