add method

Color add(
  1. {int? r,
  2. int? g,
  3. int? b,
  4. int? a}
)

Implementation

Color add({int? r, int? g, int? b, int? a}) {
  Color c = addRed(r ?? 0);
  c = addGreen(g ?? 0);
  c = addBlue(b ?? 0);
  c = addAlpha(a ?? 0);
  return c;
}