• Allegro

    Draws a rectangle.

    Parameters

    • bitmap: undefined | BITMAP

      bitmap to be drawn to

    • x1: number

      point 1 x

    • y1: number

      point 1 y

    • x2: number

      point 2 x

    • y2: number

      point 2 y

    • colour: number

      colour in 0xAARRGGBB format

      1.14.14

    Returns void

    Remarks

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

Generated using TypeDoc