convertLinearToGamma method

Color convertLinearToGamma([
  1. double? gammaFactor
])

Implementation

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

  return this;
}