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

PixelateEffect() public method

Creates a new effect that will pixelate an image.
public PixelateEffect ( int cellSize = 2 ) : System
cellSize int Size of the pixelation. Valid range is 0 - 100.
return System
		public PixelateEffect (int cellSize = 2)
		{
			if (cellSize < 0 || cellSize > 100)
				throw new ArgumentOutOfRangeException ("cellSize");

			this.cell_size = cellSize;
		}