source: imaps-frontend/node_modules/canvg/lib/Transform/Transform.d.ts

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[79a0317]1import { RenderingContext2D } from '../types';
2import Property from '../Property';
3import Point from '../Point';
4import Document, { Element } from '../Document';
5import { ITransform } from './types';
6import Translate from './Translate';
7import Rotate from './Rotate';
8import Scale from './Scale';
9import Matrix from './Matrix';
10import Skew from './Skew';
11import SkewX from './SkewX';
12import SkewY from './SkewY';
13export { Translate, Rotate, Scale, Matrix, Skew, SkewX, SkewY };
14interface ITransformConstructor {
15 prototype: ITransform;
16 new (document: Document, value: string, transformOrigin?: readonly [Property<string>, Property<string>]): ITransform;
17}
18export default class Transform {
19 private readonly document;
20 static fromElement(document: Document, element: Element): Transform;
21 static transformTypes: Record<string, ITransformConstructor>;
22 private readonly transforms;
23 constructor(document: Document, transform: string, transformOrigin?: readonly [Property<string>, Property<string>]);
24 apply(ctx: RenderingContext2D): void;
25 unapply(ctx: RenderingContext2D): void;
26 applyToPoint(point: Point): void;
27}
28//# sourceMappingURL=Transform.d.ts.map
Note: See TracBrowser for help on using the repository browser.