set method

  1. @override
void set(
  1. Color c
)
override

The the values of this color to the given color.

Implementation

@override
void set(Color c) {
  r = c.r;
  g = c.g;
  b = c.b;
  a = c.a;
}