A quadratic curve can be created using the quadraticCurveTo() method.
Starting point of the curve is defined by the moveTo() method. The first 2 parameters of the quadraticCurveTo() method are
the x and y coordinates of the control point of the curve(A control point is a point which is created by the intersection of two tangential lines drawn across the curve). The third and fourth parameters
of the quadraticCurveTo() method are the x and y coordinates of the ending point of the curve.