diff --git a/src/basic/Matrix.js b/src/basic/Matrix.js index 48979148..5419e95d 100644 --- a/src/basic/Matrix.js +++ b/src/basic/Matrix.js @@ -330,10 +330,10 @@ var Matrix = this.Matrix = Base.extend({ * * @param {Point} point The point to be transformed. * - * @param {Array} src The array containing the source points + * @param {Number[]} src The array containing the source points * as x, y value pairs. * @param {Number} srcOff The offset to the first point to be transformed. - * @param {Array} dst The array into which to store the transformed + * @param {Number[]} dst The array into which to store the transformed * point pairs. * @param {Number} dstOff The offset of the location of the first * transformed point in the destination array. diff --git a/src/item/Item.js b/src/item/Item.js index bb8feb8b..698cff9d 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -843,12 +843,12 @@ var Item = this.Item = Base.extend({ * * @name Item#removeChildren * @function - * @return {Array} an array containing the removed items + * @return {Item[]} an array containing the removed items */ /** * Removes all of the item's {@link #children} (if any). * - * @return {Array} an array containing the removed items + * @return {Item[]} an array containing the removed items */ /** * Removes the children from the specified {@code from} index to the @@ -856,7 +856,7 @@ var Item = this.Item = Base.extend({ * * @param {Number} from the beginning index, inclusive * @param {Number} [to=children.length] the ending index, exclusive - * @return {Array} an array containing the removed items + * @return {Item[]} an array containing the removed items */ removeChildren: function(from, to) { if (!this._children) @@ -1433,7 +1433,7 @@ var Item = this.Item = Base.extend({ * Transform the item. * * @param {Matrix} matrix - * @param {Array} flags Array of any of the following: 'objects', 'children', + * @param {String[]} flags Array of any of the following: 'objects', 'children', * 'fill-gradients', 'fill-patterns', 'stroke-patterns', 'lines'. * Default: ['objects', 'children'] */ diff --git a/src/item/Layer.js b/src/item/Layer.js index ee926df2..bfa913b9 100644 --- a/src/item/Layer.js +++ b/src/item/Layer.js @@ -23,7 +23,7 @@ var Layer = this.Layer = Group.extend({ * {@link Project#layers} array. The newly created layer will be activated, * so all newly created items will be placed within it. * - * @param {Array} [children] An array of items that will be added to the + * @param {Item[]} [children] An array of items that will be added to the * newly created layer. * * @example diff --git a/src/path/Path.js b/src/path/Path.js index bcab8436..f427c217 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -508,7 +508,7 @@ var Path = this.Path = PathItem.extend({ * * @param {Number} from the beginning index, inclusive * @param {Number} [to=segments.length] the ending index, exclusive - * @return {Array} an array containing the removed segments + * @return {Segment[]} an array containing the removed segments * * @example {@paperscript} * // Removing segments from a path: