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.
17 lines
621 B
TypeScript
17 lines
621 B
TypeScript
import { RenderingContext2D } from '../types';
|
|
import Document from '../Document';
|
|
import Property from '../Property';
|
|
import Point from '../Point';
|
|
export default class Rotate {
|
|
type: string;
|
|
private readonly angle;
|
|
private readonly originX;
|
|
private readonly originY;
|
|
private readonly cx;
|
|
private readonly cy;
|
|
constructor(document: Document, rotate: string, transformOrigin: [Property<string>, Property<string>]);
|
|
apply(ctx: RenderingContext2D): void;
|
|
unapply(ctx: RenderingContext2D): void;
|
|
applyToPoint(point: Point): void;
|
|
}
|
|
//# sourceMappingURL=Rotate.d.ts.map
|