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

    Circular spatial range

    Hierarchy (View Summary)

    Index

    Constructors

    • Circle constructor, initialized position and radius

      Parameters

      • x: number

        X coordinate of the position

      • y: number

        Y coordinate of the position

      • radius: number

        Circle's radius

      Returns Circle

    Properties

    position: ICoordinates

    Range position

    radius: number

    Circle radius

    type: string

    The range type identifier

    Methods

    • Resets the circle position and radius, reusing the instance

      Parameters

      • x: number

        X coordinate of the position

      • y: number

        Y coordinate of the position

      • radius: number

        Circle's radius

      Returns this

      the circle instance for chaining