mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Improve Color.random()
documentation.
This commit is contained in:
parent
b8a0743e3d
commit
a7c2fb3ddf
1 changed files with 3 additions and 2 deletions
|
@ -1186,9 +1186,10 @@ var Color = Base.extend(new function() {
|
|||
_types: types,
|
||||
|
||||
/**
|
||||
* Creates a random color.
|
||||
* Returns a color object with random {@link #red}, {@link #green}
|
||||
* and {@link #blue} values between `0` and `1`.
|
||||
*
|
||||
* @return {Color} the randomly created color
|
||||
* @return {Color} the newly created color object
|
||||
* @static
|
||||
*
|
||||
* @example {@paperscript}
|
||||
|
|
Loading…
Reference in a new issue