UNPKG

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