mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
GrayColor: fix comments.
This commit is contained in:
parent
66105dd4ac
commit
b944b82abe
1 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ GrayColor = Color.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A value between 0 and 1 that specifies the amount of red in the RGB color.
|
* A value between 0 and 1 that specifies the amount of gray in the gray color.
|
||||||
*/
|
*/
|
||||||
getGray: function() {
|
getGray: function() {
|
||||||
return this._gray;
|
return this._gray;
|
||||||
|
@ -35,10 +35,10 @@ GrayColor = Color.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if the component color values of the RGBColor are the
|
* Checks if the component color values of the GrayColor are the
|
||||||
* same as those of the supplied one.
|
* same as those of the supplied one.
|
||||||
*
|
*
|
||||||
* @param obj the RGBColor to compare with
|
* @param obj the GrayColor to compare with
|
||||||
* @return {@true if the RGBColor is the same}
|
* @return {@true if the RGBColor is the same}
|
||||||
*/
|
*/
|
||||||
equals: function(color) {
|
equals: function(color) {
|
||||||
|
|
Loading…
Reference in a new issue