Constructors
constructor
- new color(): color
- new color(r: number, g: number, b: number): color
Parameters
- r: number
- g: number
- b: number
Properties
Methods
set
- set(r: number, g: number, b: number): void
Parameters
- r: number
- g: number
- b: number
Returns void
Source
C++ class color
Custom Constructor
color