interface AttractParticle {
    attractDistance?: number;
    backColor?: IHsl;
    bubble: IBubbleParticleData;
    color?: IParticleHslAnimation;
    container: Container;
    destroyed: boolean;
    direction: number;
    effect: string;
    effectClose: boolean;
    effectData?: IShapeValues;
    effectFill: boolean;
    group?: string;
    id: number;
    ignoresResizeRatio: boolean;
    initialPosition: Vector;
    initialVelocity: Vector;
    interactivity: Interactivity;
    isRotating: boolean;
    lastPathTime: number;
    misplaced: boolean;
    moveCenter: ICenterCoordinates;
    moveDecay: number;
    offset: Vector;
    opacity?: IParticleNumericValueAnimation;
    options: ParticlesOptions;
    outType: ParticleOutType;
    pathDelay: number;
    pathGenerator?: IMovePathGenerator;
    pathRotation: boolean;
    position: Vector3d;
    randomIndexData?: number;
    retina: IParticleRetinaProps;
    roll?: IParticleRoll;
    rotation: number;
    shadowColor?: IRgb;
    shape: string;
    shapeClose: boolean;
    shapeData?: IShapeValues;
    shapeFill: boolean;
    sides: number;
    size: IParticleNumericValueAnimation;
    slow: ISlowParticleData;
    spawning: boolean;
    strokeColor?: IParticleHslAnimation;
    strokeOpacity?: number;
    strokeWidth?: number;
    unbreakable: boolean;
    velocity: Vector;
    zIndexFactor: number;
    destroy(override?: boolean): void;
    draw(delta: IDelta): void;
    getFillColor(): undefined | IHsl;
    getMass(): number;
    getPosition(): ICoordinates3d;
    getRadius(): number;
    getStrokeColor(): undefined | IHsl;
    init(id: number, position?: ICoordinates, overrideOptions?: RecursivePartial<IParticlesOptions>, group?: string): void;
    isInsideCanvas(): boolean;
    isVisible(): boolean;
    reset(): void;
}

Hierarchy (view full)

Properties

attractDistance?: number
backColor?: IHsl
container: Container
destroyed: boolean
direction: number
effect: string
effectClose: boolean
effectData?: IShapeValues
effectFill: boolean
group?: string
id: number
ignoresResizeRatio: boolean
initialPosition: Vector
initialVelocity: Vector
interactivity: Interactivity
isRotating: boolean
lastPathTime: number
misplaced: boolean
moveCenter: ICenterCoordinates
moveDecay: number
offset: Vector
pathDelay: number
pathGenerator?: IMovePathGenerator
pathRotation: boolean
position: Vector3d
randomIndexData?: number
rotation: number
shadowColor?: IRgb
shape: string
shapeClose: boolean
shapeData?: IShapeValues
shapeFill: boolean
sides: number
spawning: boolean
strokeColor?: IParticleHslAnimation
strokeOpacity?: number
strokeWidth?: number
unbreakable: boolean
velocity: Vector
zIndexFactor: number

Methods

  • Parameters

    • Optionaloverride: boolean

    Returns void

  • Parameters

    Returns void

  • Returns undefined | IHsl

  • Returns number

  • Returns number

  • Returns boolean

  • Returns boolean

  • Returns void