1 | import type { Container } from "../Core/Container";
|
2 | import type { IDelta } from "../Core/Interfaces/IDelta";
|
3 | import type { Particle } from "../Core/Particle";
|
4 | export type ShapeDrawerDrawFunction = (context: CanvasRenderingContext2D, particle: Particle, radius: number, opacity: number, delta: IDelta, pixelRatio: number) => void;
|
5 | export type ShapeDrawerInitFunction = (container: Container) => Promise<void>;
|
6 | export type ShapeDrawerParticleInitFunction = (container: Container, particle: Particle) => void;
|
7 | export type ShapeDrawerAfterEffectFunction = (context: CanvasRenderingContext2D, particle: Particle, radius: number, opacity: number, delta: IDelta, pixelRatio: number) => void;
|
8 | export type ShapeDrawerDestroyFunction = (container: Container) => void;
|
9 | export type ShapeDrawerSidesCountFunction = (particle: Particle) => number;
|
10 | export type ShapeDrawerLoadFunction = (particle: Particle) => void;
|