q5play
    Preparing search index...

    Function triangle

    • 🖌 Draws a triangle.

      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

      Returns void