mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
Clean up Segment object constructor example.
This commit is contained in:
parent
3517493f76
commit
3136480e5e
1 changed files with 2 additions and 1 deletions
|
@ -54,10 +54,11 @@ var Segment = this.Segment = Base.extend(/** @lends Segment# */{
|
|||
* Creates a new Segment object.
|
||||
*
|
||||
* @name Segment#initialize
|
||||
* @param {Object} properties An object literal containing properties to
|
||||
* @param {Object} object An object literal containing properties to
|
||||
* be set on the segment.
|
||||
*
|
||||
* @example {@paperscript}
|
||||
* // Creating segments using object notation:
|
||||
* var firstSegment = new Segment({
|
||||
* point: [100, 50],
|
||||
* handleOut: [80, 100]
|
||||
|
|
Loading…
Reference in a new issue