From 373e14dd766026ed2910485f64e103e6825aaec8 Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Fri, 27 May 2011 13:54:34 +0200 Subject: [PATCH] Improve CompoundPath documentation. --- src/path/CompoundPath.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/path/CompoundPath.js b/src/path/CompoundPath.js index 22c46a8e..de2caf79 100644 --- a/src/path/CompoundPath.js +++ b/src/path/CompoundPath.js @@ -25,7 +25,8 @@ var CompoundPath = this.CompoundPath = PathItem.extend({ * * @class A compound path contains two or more paths, holes are drawn * where the paths overlap. All the paths in a compound path take on the - * style of the backmost path. + * style of the backmost path and can be accessed through its + * {@link Item#children} list. * * @extends PathItem * @extends Item @@ -108,8 +109,10 @@ var CompoundPath = this.CompoundPath = PathItem.extend({ var fields = { /** @lends CompoundPath# */ - // DOCS: document moveTo + // DOCS: document CompoundPath#moveTo /** + * {@grouptitle Postscript Style Drawing Commands} + * * @param {Point} point */ moveTo: function(point) { @@ -118,7 +121,7 @@ var CompoundPath = this.CompoundPath = PathItem.extend({ path.moveTo.apply(path, arguments); }, - // DOCS: document moveBy + // DOCS: document CompoundPath#moveBy /** * @param {Point} point */