Merge remote-tracking branch 'origin/master'

This commit is contained in:
Jürg Lehni 2011-06-20 14:26:05 +01:00
commit 5ce49e6f8f
4 changed files with 8 additions and 8 deletions

View file

@ -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.

View file

@ -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']
*/

View file

@ -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

View file

@ -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: