convertGammaToLinear method

Color convertGammaToLinear([
  1. double? gammaFactor
])

Implementation

Color convertGammaToLinear([double? gammaFactor]) {
  if (gammaFactor == null) {
    copyGammaToLinear(this);
  } else {
    copyGammaToLinear(this, gammaFactor);
  }

  return this;
}