UNPKG

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