q5play
    Preparing search index...

    Function quad

    • 🖌 Draws a quadrilateral.

      Parameters

      • x1: number

        x-coordinate of the first vertex

      • y1: number

        y-coordinate of the first vertex

      • x2: number

        x-coordinate of the second vertex

      • y2: number

        y-coordinate of the second vertex

      • x3: number

        x-coordinate of the third vertex

      • y3: number

        y-coordinate of the third vertex

      • x4: number

        x-coordinate of the fourth vertex

      • y4: number

        y-coordinate of the fourth vertex

      Returns void