In the following example, the two functions have the namepaths "module:color/mixer.blend" and "module:color/mixer.darken".
Defining exported symbols as a member of 'module.exports' or 'exports'
Methods
-
static blend()
-
Blend two colours together.
-
static darken()
-
Darkens a color.