mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Documentation: Convert more Array return types to Type[].
This commit is contained in:
parent
5ce49e6f8f
commit
c1fcd6f3bb
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ var CompoundPath = this.CompoundPath = PathItem.extend({
|
|||
* Creates a new compound path item and places it in the active layer.
|
||||
*
|
||||
* @constructs CompoundPath
|
||||
* @param {Array} [paths] the paths to place within the compound path.
|
||||
* @param {Path[]} [paths] the paths to place within the compound path.
|
||||
*
|
||||
* @example {@paperscript}
|
||||
* // Create a circle shaped path with a hole in it:
|
||||
|
|
|
@ -500,7 +500,7 @@ var Path = this.Path = PathItem.extend({
|
|||
*
|
||||
* @name Path#removeSegments
|
||||
* @function
|
||||
* @return {Array} an array containing the removed segments
|
||||
* @return {Segment[]} an array containing the removed segments
|
||||
*/
|
||||
/**
|
||||
* Removes the segments from the specified {@code from} index to the
|
||||
|
|
Loading…
Reference in a new issue