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

MotionBlurEffect() public method

Creates a new effect that will apply a motion blur to an image.
public MotionBlurEffect ( double angle = 25, int distance = 10, bool centered = true ) : System
angle double Angle of the motion blur.
distance int Distance to apply the blur. Valid range is 1 - 200.
centered bool Whether the blur is centered.
return System
		public MotionBlurEffect (double angle = 25, int distance = 10, bool centered = true)
		{
			if (distance < 1 || distance > 200)
				throw new ArgumentOutOfRangeException ("distance");

			this.angle = angle;
			this.distance = distance;
			this.centered = centered;
		}