@daign/2d-pipeline
Version:
Two dimensional graphics pipeline.
20 lines (19 loc) • 513 B
TypeScript
import { Matrix3 } from '@daign/math';
import { Observable } from '@daign/observable';
/**
* Abstract class for transformations.
*/
export declare abstract class Transform extends Observable {
/**
* The transformation matrix.
*/
abstract matrix: Matrix3;
/**
* The transformation matrix, not including native transforms.
*/
abstract matrixNonNative: Matrix3;
/**
* The native SVG transform attribute string.
*/
abstract nativeSvgTransform: string | null;
}