• Allegro

    Draws a line.

    Parameters

    • bitmap: undefined | BITMAP

      bitmap to be drawn to

    • x1: number

      start x

    • y1: number

      start y

    • x2: number

      end x

    • y2: number

      end y

    • colour: number

      colour in 0xAARRGGBB format

      1.14.10

    Returns void

    Remarks

    Draws a line from one point to another using given colour.

Generated using TypeDoc