// Create a Paper.js Path to draw a line into it:
var path = new Path();
// Give the stroke a color
path.strokeColor = 'black';
var start = new Point(100, 100);
// Move to start and draw a line from there
path.moveTo(start);
// Note the plus operator on Point objects.
// PaperScript does that for us, and much more!
path.lineTo(start + [ 100, -50 ]);

@@ -121,16 +121,38 @@
 black';%0A
+path.strokeWidth = 4;%0A
 var star
@@ -367,8 +367,680 @@
 -50 %5D);%0A
+%0A// Create a circle shaped path with its center at the center%0A// of the view and a radius of 30:%0Avar pathCircle = new Path.Circle(%7B%0A    center: view.center,%0A    radius: 30,%0A    fillColor: new Color(0.9, 0.5, 0.5),%0A    strokeColor: 'red',%0A    strokeWidth: 10%0A%7D);%0A%0A// rounded rectangle%0Avar rectOrigin = new Point(50, 140)%0Avar rectHeight = 50%0Avar rectWidth = 200%0Avar rectEnd = new Point(rectOrigin.x + rectWidth, rectOrigin.y + rectHeight);%0Avar rect = new Rectangle(rectOrigin, rectEnd);%0Avar cornerSize = new Size(20, 20);%0Avar roundRect = new Path.RoundRectangle(rect, cornerSize);%0AroundRect.style = %7B%0A    fillColor: 'orange',%0A    strokeColor: 'brown',%0A    strokeWidth: 6%0A%7D;%0A

Add circle and rounded rectangle.