UNPKG

649 BTypeScriptView Raw
1import { MatrixValue, RenderingContext2D } from '../types';
2import { Document } from '../Document';
3import { Point } from '../Point';
4import { Property } from '../Property';
5import { ITransform } from './types';
6export declare class Matrix implements ITransform {
7 type: string;
8 protected matrix: MatrixValue;
9 private readonly originX;
10 private readonly originY;
11 constructor(_: Document, matrix: string, transformOrigin: readonly [Property<string>, Property<string>]);
12 apply(ctx: RenderingContext2D): void;
13 unapply(ctx: RenderingContext2D): void;
14 applyToPoint(point: Point): void;
15}
16//# sourceMappingURL=Matrix.d.ts.map
\No newline at end of file