@tsparticles/path-polygon
Version:
tsParticles polygon path
15 lines (14 loc) • 621 B
TypeScript
import { type Container, type ICoordinates, Vector } from "@tsparticles/engine";
import { type IMovePathGenerator } from "@tsparticles/plugin-move";
import type { IPolygonPathOptions } from "./IPolygonPathOptions.js";
import type { PolygonPathParticle } from "./PolygonPathParticle.js";
export declare class PolygonPathGenerator implements IMovePathGenerator {
#private;
dirsList: ICoordinates[];
readonly options: IPolygonPathOptions;
constructor(container: Container);
generate(p: PolygonPathParticle): Vector;
init(): void;
reset(particle: PolygonPathParticle): void;
update(): void;
}