quad()Shape2D PrimitivesWeb & Applicationquad_.gif
quad(38, 31, 86, 20, 69, 63, 30, 76);
A quad is a quadrilateral, a four sided polygon. It is similar to a rectangle, but the angles between its edges are not constrained to ninety degrees.
quad(x1, y1, x2, y2, x3, y3, x4, y4);
int or float: x-coordinate of the first cornerint or float: y-coordinate of the first cornerint or float: x-coordinate of the second cornerint or float: y-coordinate of the second cornerint or float: x-coordinate of the third cornerint or float: y-coordinate of the third cornerint or float: x-coordinate of the fourth cornerint or float: y-coordinate of the fourth cornerNone1.0FunctionCore