public ColorBalance(DecimalScaleRgb shadows, DecimalScaleRgb midtones, DecimalScaleRgb highlights) { if (shadows == null) { throw new ArgumentNullException("shadows"); } if (midtones == null) { throw new ArgumentNullException("midtones"); } if (highlights == null) { throw new ArgumentNullException("highlights"); } _shadowsRgb = shadows; _midtonesRgb = midtones; _highlightsRgb = highlights; }
public ColorBalance() { _shadowsRgb = new DecimalScaleRgb(); _midtonesRgb = new DecimalScaleRgb(); _highlightsRgb = new DecimalScaleRgb(); }