toComponents function
dynamic
toComponents(
- dynamic source,
- dynamic target
Implementation
toComponents( source, target ) {
target["r"] = source.r;
target["g"] = source.g;
target["b"] = source.b;
return target;
}