• Allegro

    Draws a triangle

    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

    • x3: number
    • y3: number
    • colour: number

      colour in 0xAARRGGBB format

      1.14.12

    Returns void

    Remarks

    Draws a triangle using three coordinates. The triangle is not filled.

Generated using TypeDoc