Improve Color.random() documentation.

This commit is contained in:
sasensi 2018-12-03 14:46:50 +01:00
parent b8a0743e3d
commit a7c2fb3ddf

View file

@ -1186,9 +1186,10 @@ var Color = Base.extend(new function() {
_types: types, _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 * @static
* *
* @example {@paperscript} * @example {@paperscript}