tsParticles - v4.0.0-beta.12
    Preparing search index...

    The canvas mask options

    interface ICanvasMask {
        element?: HTMLCanvasElement;
        enable: boolean;
        image?: IImageMask;
        override: ICanvasMaskOverride;
        pixels: ICanvasMaskPixels;
        position: ICoordinates;
        scale: number;
        selector?: string;
        text?: ITextMask;
    }

    Implemented by

    Index

    Properties

    The canvas mask element

    enable: boolean

    Enables the canvas mask

    image?: IImageMask

    The canvas mask image options

    The canvas mask override options

    The canvas mask pixels options

    position: ICoordinates

    The canvas mask position

    scale: number

    The canvas mask scale

    selector?: string

    The canvas mask element selector

    text?: ITextMask

    The canvas mask text options