mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
Improve Size documentation.
This commit is contained in:
parent
780e842d74
commit
c6bcd7d97a
1 changed files with 2 additions and 2 deletions
|
@ -39,13 +39,13 @@ var Size = this.Size = Base.extend(/** @lends Size# */{
|
|||
* var size = new Size(10, 5);
|
||||
* console.log(size.width); // 10
|
||||
* console.log(size.height); // 5
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Creates a Size object using the numbers in the given array as
|
||||
* dimensions.
|
||||
*
|
||||
* @name Size#initialize
|
||||
* @param {array} array
|
||||
* @param {Array} array
|
||||
*
|
||||
* @example
|
||||
* // Creating a size of width: 320, height: 240 using an array of numbers:
|
||||
|
|
Loading…
Reference in a new issue