• Allegro

    Draws a polygon

    Parameters

    • bitmap: undefined | BITMAP

      bitmap to be drawn to

    • vertices: number

      number of vertices to draw

    • points: number[]

      array containing vertices*2 elements of polygon coordinates in [x1,y1,x2,y2,x3...] format

    • colour: number

      colour in 0xAARRGGBB format

      1.14.13

    Returns void

    Remarks

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

Generated using TypeDoc