Documentation edits.

This commit is contained in:
Jonathan Puckey 2011-06-04 15:32:28 +02:00
parent 5e05f38df0
commit a96b272f7a
5 changed files with 83 additions and 17 deletions

View file

@ -23,8 +23,8 @@ var CompoundPath = this.CompoundPath = PathItem.extend({
* @constructs CompoundPath
* @param {Array} [paths] the paths to place within the compound path.
*
* @example
* // Create a donut shaped compound path:
* @example {@paperscript}
* // Create a circle shaped path with a hole in it:
* var circle = new Path.Circle(new Point(50, 50), 30);
* var innerCircle = new Path.Circle(new Point(50, 50), 10);
* var compoundPath = new CompoundPath([circle, innerCircle]);