Returns a curve
| x1 | x-coordinate of the beginning control point |
| y1 | y-coordinate of the beginning control point |
| x2 | x-coordinate of the first point |
| y2 | y-coordinate of the first point |
| x3 | x-coordinate of the second point |
| y3 | y-coordinate of the second point |
| x4 | x-coordinate of the ending control point |
| y4 | y-coordinate of the ending control point |
Example:
shape = curve(230, 150, 230, 272, 270, 272, 270, 150) shape.draw(1, 1000)