UNPKG

@bitblit/ratchet-common

Version:

Common tools for general use

14 lines (13 loc) 696 B
import { TransformationMatrix } from "./transformation-matrix.js"; export declare class MatrixFactory { private constructor(); static multiply(tx: TransformationMatrix[]): TransformationMatrix; static translate(xMove: number, yMove: number): TransformationMatrix; static scaleUniform(scale: number): TransformationMatrix; static scale(xScale: number, yScale: number): TransformationMatrix; static rotate(angleTheta: number): TransformationMatrix; static shear(xShear: number, yShear: number): TransformationMatrix; static mirrorAboutYAxis(): TransformationMatrix; static mirrorAboutXAxis(): TransformationMatrix; static identity(): TransformationMatrix; }