setFromColor method

void setFromColor(
  1. Color c
)

Implementation

void setFromColor(Color c) {
  r = c.r;
  g = c.g;
  b = c.b;
  a = c.a;
}