UNPKG

@tsparticles/plugin-canvas-mask

Version:

tsParticles canvas mask plugin

13 lines (12 loc) 498 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; fill: boolean; readonly font: FontTextMask; readonly lines: TextMaskLine; text: string; load(data?: RecursivePartial<ITextMask>): void; }