@tsparticles/plugin-emitters-shape-canvas
Version:
tsParticles emitters shape canvas plugin
7 lines (6 loc) • 510 B
TypeScript
import { type ICoordinates, type IDimension } from "@tsparticles/engine";
import type { IEmitterShape, IEmitterShapeGenerator } from "@tsparticles/plugin-emitters";
import type { IEmittersCanvasShapeOptions } from "./Options/Interfaces/IEmittersCanvasShapeOptions.js";
export declare class EmittersCanvasShapeGenerator implements IEmitterShapeGenerator<IEmittersCanvasShapeOptions> {
generate(position: ICoordinates, size: IDimension, fill: boolean, options: IEmittersCanvasShapeOptions): IEmitterShape;
}