@daign/2d-pipeline
Version:
Two dimensional graphics pipeline.
33 lines (32 loc) • 931 B
TypeScript
import { GenericArray, Matrix3 } from '@daign/math';
import { Transform } from './transform';
/**
* Collection of transformations combined into a single transformation.
* The transformations are applied in order from highest to lowest index.
*/
export declare class TransformCollection extends GenericArray<Transform> {
/**
* The transformation matrix.
*/
transformMatrix: Matrix3;
/**
* The matrix of the inverse transformation.
*/
inverseTransformMatrix: Matrix3;
/**
* The transformation matrix, not including native transforms.
*/
transformMatrixNonNative: Matrix3;
/**
* The native SVG transform attribute string.
*/
nativeSvgTransform: string | null;
/**
* Constructor.
*/
constructor();
/**
* Combine all transformations in the collection into a single transformation matrix.
*/
private combineTransformations;
}