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

PolarInversionEffect() public method

Creates a new effect that will apply a polar inversion to an image.
public PolarInversionEffect ( double amount, int quality = 2, System.Point centerOffset = newPoint(), WarpEdgeBehavior edgeBehavior = WarpEdgeBehavior.Reflect, ColorBgra primaryColor = newColorBgra(), ColorBgra secondaryColor = newColorBgra() ) : System
amount double Amount of inversion. Valid range is -4 - 4.
quality int Quality of the inversion. Valid range is 1 - 5.
centerOffset System.Point Center of the inversion.
edgeBehavior WarpEdgeBehavior Edge behavior of the inversion.
primaryColor ColorBgra Primary color of the inversion.
secondaryColor ColorBgra Secondary color of the inversion.
return System
		public PolarInversionEffect (double amount = 0, int quality = 2, Point centerOffset = new Point (), WarpEdgeBehavior edgeBehavior = WarpEdgeBehavior.Reflect, ColorBgra primaryColor = new ColorBgra (), ColorBgra secondaryColor = new ColorBgra ())
			: base (quality, centerOffset, edgeBehavior, primaryColor, secondaryColor)
		{
			if (amount < -4 || amount > 4)
				throw new ArgumentOutOfRangeException ("amount");

			this.amount = amount;
		}