import { Deletable } from "./deletable.js"; /** * A native transform (read matrix). * * Note, is expected from context to know what size is required for "setvalues" * as the matrix might be 2x2, 3x3 or 4x4. If this needs to be determined at runtime, * getValues with a .length can be used to determine the number of elements and * corresponding matrix. */ export interface NativeTransform extends Deletable { /** * Get the values for this transform matrix. * * @return {Readonly} The values in this matrix. */ getValues(): Readonly; /** * Set the values in this matrix. * * @param values The values to set. */ setValues(values: ArrayLike): void; } export interface NativeTransform3x3 extends NativeTransform { transpose(): NativeTransform3x3; uniformScale(factor: number): NativeTransform3x3; } export interface NativeTransform4x4 extends NativeTransform { transpose(): NativeTransform4x4; invert(): NativeTransform4x4; uniformScale(factor: number): NativeTransform4x4; } //# sourceMappingURL=native_transform.d.ts.map