Pinta.ImageManipulation.Effects.RedEyeRemoveEffect.RedEyeRemoveEffect C# (CSharp) Method

RedEyeRemoveEffect() public method

Creates a new effect that will remove red within a certain tolerance from an image.
public RedEyeRemoveEffect ( int tolerance = 70, int saturation = 90 ) : System
tolerance int Tolerance of red to remove. Valid range is 0 - 100.
saturation int Saturation of effect. Valid range is 0 - 100.
return System
		public RedEyeRemoveEffect (int tolerance = 70, int saturation = 90)
		{
			if (tolerance < 0 || tolerance > 100)
				throw new ArgumentOutOfRangeException ("tolerance");
			if (saturation < 0 || saturation > 100)
				throw new ArgumentOutOfRangeException ("saturation");

			op = new RedEyeRemoveOp (tolerance, saturation);
		}