@daign/2d-pipeline
Version:
Two dimensional graphics pipeline.
36 lines (35 loc) • 949 B
TypeScript
import { Matrix3, Vector2 } from '@daign/math';
import { Transform } from './transform';
/**
* A scaling transformation that supports native SVG transform usage.
*/
export declare class NativeScaleTransform extends Transform {
/**
* The scaling vector.
*/
private _scaling;
/**
* Getter for the scaling vector.
* @returns The scaling vector.
*/
get scaling(): Vector2;
/**
* 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 attribute string.
* @returns The transform command string or null.
*/
get nativeSvgTransform(): string | null;
/**
* Constructor.
*/
constructor();
}