You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
559 B
TypeScript
15 lines
559 B
TypeScript
import { RenderingContext2D } from '../types';
|
|
import Document from '../Document';
|
|
import Point from '../Point';
|
|
import Property from '../Property';
|
|
export default class Scale {
|
|
type: string;
|
|
private readonly scale;
|
|
private readonly originX;
|
|
private readonly originY;
|
|
constructor(_: Document, scale: string, transformOrigin: [Property<string>, Property<string>]);
|
|
apply(ctx: RenderingContext2D): void;
|
|
unapply(ctx: RenderingContext2D): void;
|
|
applyToPoint(point: Point): void;
|
|
}
|
|
//# sourceMappingURL=Scale.d.ts.map
|