setScalar method

Color setScalar(
  1. double scalar
)

Implementation

Color setScalar(double scalar) {
  r = scalar;
  g = scalar;
  b = scalar;

  return this;
}