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

TwistEffect() public method

Creates a new effect that will twist an image.
public TwistEffect ( int amount = 45, int antialias = 2 ) : System
amount int Amount of twist to apply. Valid range is -100 - 100.
antialias int Amount of antialiasing to apply. Valid range is 0 - 5.
return System
		public TwistEffect (int amount = 45, int antialias = 2)
		{
			if (amount < -100 || amount > 100)
				throw new ArgumentOutOfRangeException ("amount");
			if (antialias < 0 || antialias > 5)
				throw new ArgumentOutOfRangeException ("antialias");

			this.amount = amount;
			this.antialias = antialias;
		}