mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Add comments about backward compatible Color constructor names.
This commit is contained in:
parent
6effceb9bc
commit
e2eec3476d
1 changed files with 3 additions and 0 deletions
|
@ -675,6 +675,7 @@ var GrayColor = this.GrayColor = Color.extend(/** @lends GrayColor# */{
|
|||
* @class An RgbColor object is used to represent any RGB color value.
|
||||
* @extends Color
|
||||
*/
|
||||
// RGBColor references RgbColor inside PaperScopes for backward compatibility
|
||||
var RgbColor = this.RgbColor = this.RGBColor = Color.extend(/** @lends RgbColor# */{
|
||||
/**
|
||||
* Creates an RgbColor object
|
||||
|
@ -763,6 +764,7 @@ var RgbColor = this.RgbColor = this.RGBColor = Color.extend(/** @lends RgbColor#
|
|||
* @class An HsbColor object is used to represent any HSB color value.
|
||||
* @extends Color
|
||||
*/
|
||||
// HSBColor references HsbColor inside PaperScopes for backward compatibility
|
||||
var HsbColor = this.HsbColor = this.HSBColor = Color.extend(/** @lends HsbColor# */{
|
||||
/**
|
||||
* Creates an HsbColor object
|
||||
|
@ -841,6 +843,7 @@ var HsbColor = this.HsbColor = this.HSBColor = Color.extend(/** @lends HsbColor#
|
|||
* @class An HslColor object is used to represent any HSL color value.
|
||||
* @extends Color
|
||||
*/
|
||||
// HSLColor references HslColor inside PaperScopes for backward compatibility
|
||||
var HslColor = this.HslColor = this.HSLColor = Color.extend(/** @lends HslColor# */{
|
||||
/**
|
||||
* Creates an HslColor object
|
||||
|
|
Loading…
Reference in a new issue