UNPKG

@daign/2d-pipeline

Version:
31 lines (30 loc) 783 B
import { Matrix3 } from '@daign/math'; import { Transform } from './transform'; /** * A transformation defined by a matrix. */ export declare class MatrixTransform extends Transform { /** * The transformation matrix. */ private _matrix; /** * Getter for the transformation matrix. * @returns The transformation matrix. */ get matrix(): Matrix3; /** * Getter for the transformation matrix, not including native transforms. * @returns The transformation matrix. */ get matrixNonNative(): Matrix3; /** * Getter for the native SVG transform command string. * @returns The transform command string or null. */ get nativeSvgTransform(): null; /** * Constructor. */ constructor(); }