UNPKG

@tsparticles/plugin-canvas-mask

Version:

tsParticles canvas mask plugin

13 lines (12 loc) 480 B
import { type IOptionLoader, type RecursivePartial } from "@tsparticles/engine"; import { FontTextMask } from "./FontTextMask.js"; import type { ITextMask } from "../Interfaces/ITextMask.js"; import { TextMaskLine } from "./TextMaskLine.js"; export declare class TextMask implements ITextMask, IOptionLoader<ITextMask> { color: string; font: FontTextMask; lines: TextMaskLine; text: string; constructor(); load(data?: RecursivePartial<ITextMask>): void; }