tsParticles - v0.0.0
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Internal

      Range constructor, initializes the position

      Parameters

      • x: number

        X coordinate of the position

      • y: number

        Y coordinate of the position

      • type: string

        the range type

      Returns BaseRange

    Properties

    position: ICoordinates

    Range position

    type: string

    Methods

    • Check if the point is inside the range

      Parameters

      Returns boolean

      true or false, checking if the given point is inside the current range

    • Check if another range intersects with the current one

      Parameters

      • range: BaseRange

        the range to check the intersection with

      Returns boolean

      true or false, checking if the range is intersecting with the current range