import { IPoint } from "../idl/common/IPoint";
import { Point } from "../common/Point";
/**
 * 仿射矩阵
 * ｜a,c,e｜
 * ｜b,d,f｜
 * ｜0,0,1｜
 */
export declare class AffineMatrix {
    a: number;
    b: number;
    c: number;
    d: number;
    e: number;
    f: number;
    constructor();
    /**
     * 产生单位矩阵
     */
    static generateMatrix(): AffineMatrix;
    setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void;
    /**
     * 旋转
     * @param angle。角度，以角度表示。0-180
     */
    rotate(angle: number): AffineMatrix;
    /**
     * 旋转
     * @param rad，以弧度表示。0-PI
     */
    rotate2(rad: number): AffineMatrix;
    scale(sx: number, sy: number): AffineMatrix;
    /**
     * 平移
     * @param x
     * @param y
     */
    translate(x: number, y: number): AffineMatrix;
    /**
     * 右叉乘计算
     * @param matrix
     */
    crossProduct(matrix: AffineMatrix): AffineMatrix;
    /**
     * 对点p应用仿射变换
     * @param p
     */
    crossPoint(p: IPoint): Point;
    inverseMatrix(): AffineMatrix;
    clone(): AffineMatrix;
}
//# sourceMappingURL=AffineMatrix.d.ts.map