     
     /**
     Appends a bezier curve to the end of the receiver's path.
-    
+
+        var l = C4Line([C4Point(),C4Point(100,100)])
+        let pts = [C4Point(100,100),C4Point(100,0)]
+        let ctrls = [C4Point(150,100),C4Point(150,0)]
+        l.addCurve(points: pts, controls: ctrls)
+        canvas.add(l)
+
     :param: points An array of C4Point structs that defines the beginning and end points of the curve
     :param: controls An array of C4Point structs used to define the shape of the curve
     */


    /**
    Appends a polygon to the end of the receiver's path.
    
    :param: points An array of C4Point structs that defines the new polygon
    :param: closed If true then the polygon will have an additional line between its first and last points

extension C4Shape {
    /**
    Appends a circle to the end of the receiver's path.

        var l = C4Line([C4Point(),C4Point(100,100)])
        l.addCircle(center: l.path!.currentPoint, radius: 20)
        canvas.add(l)
    
    :param: center The center of the new circle
    :param: radius The radius of the new circle
