Files
nothoughts/node_modules/pixi.js/lib/scene/graphics/shared/fill/FillPattern.d.ts
2025-08-04 18:57:35 +02:00

14 lines
565 B
TypeScript

import { Matrix } from '../../../../maths/matrix/Matrix';
import type { Texture } from '../../../../rendering/renderers/shared/texture/Texture';
export type PatternRepetition = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
export declare class FillPattern implements CanvasPattern {
/** unique id for this fill pattern */
readonly uid: number;
texture: Texture;
transform: Matrix;
private _styleKey;
constructor(texture: Texture, repetition?: PatternRepetition);
setTransform(transform?: Matrix): void;
get styleKey(): string;
}