tsParticles - v0.0.0
    Preparing search index...
    • Draws a grab line between two points using canvas API in the given context.

      Parameters

      • context: CanvasRenderingContext2D

        The canvas context to draw on.

      • width: number

        The width of the line.

      • begin: ICoordinates

        The first position of the line.

      • end: ICoordinates

        The second position of the line.

      • colorLine: IRgb

        The color of the line.

      • opacity: number

        The opacity of the line.

      • hdr: boolean = false

        Whether the line should be drawn in HDR mode or not.

      Returns void