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

    Parameters used to draw a particle on the canvas.

    interface IDrawParticleParams {
        colorStyles: IParticleColorStyle;
        container: Container;
        context: OffscreenCanvasRenderingContext2D;
        delta: IDelta;
        opacity: number;
        particle: Particle;
        radius: number;
        transform: Partial<IParticleTransformValues>;
    }
    Index

    Properties

    colorStyles: IParticleColorStyle

    The color styles value

    container: Container

    The container of the particle

    The canvas context to draw on

    delta: IDelta

    This variable contains the delta between the current frame and the previous frame

    opacity: number

    The opacity of the particle

    particle: Particle

    The particle to draw

    radius: number

    The radius of the particle

    The particle transform values