Preparing search index...
The search index is not available
Image Maker Docs
Image Maker Docs
Color
Class Color
A class that represents an RGB color
Hierarchy
Color
Index
Constructors
constructor
Properties
b
g
r
Constructors
constructor
new
Color
(
r
:
number
, g
:
number
, b
:
number
)
:
Color
Parameters
r:
number
g:
number
b:
number
Returns
Color
new
Color
(
c
:
number
[]
)
:
Color
Parameters
c:
number
[]
A list of RGB values like this: [r,g,b]
Returns
Color
new
Color
(
c
:
Color
)
:
Color
Parameters
c:
Color
Returns
Color
new
Color
(
)
:
Color
Returns
Color
Properties
b
b
:
number
g
g
:
number
r
r
:
number
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Image
Maker
Docs
Color
constructor
b
g
r
Generated using
TypeDoc
A class that represents an RGB color