• 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.

    Returns void