• Allegro

    Draws a horizontal line.

    Parameters

    • bitmap: undefined | BITMAP

      bitmap to be drawn to

    • x1: number

      line endpoint 1

    • y: number

      row to draw the line to

    • x2: number

      line endpoint 2

    • colour: number

      colour in 0xAARRGGBB format

      1.14.8

    Returns void

    Remarks

    Draws a horizontal line from one point to another using given colour. Probably slightly faster than line() method, since this one uses rectfill() to draw the line.

Generated using TypeDoc