Returns a quadrilateral
x1 | x-coordinate of the first vertex |
y1 | y-coordinate of the first vertex |
x2 | x-coordinate of the second vertex |
y2 | y-coordinate of the second vertex |
x3 | x-coordinate of the third vertex |
y3 | y-coordinate of the third vertex |
x4 | x-coordinate of the fourth vertex |
y4 | y-coordinate of the fourth vertex |
Example:
shape = quad(58, 73, 29.000, 28.61, -3, 94.0076, 28.16, 77.19458) shape.draw(1, 1000)