Method | Description | |
---|---|---|
PixelateEffect ( int cellSize = 2 ) : System |
Creates a new effect that will pixelate an image.
|
Method | Description | |
---|---|---|
RenderLine ( ISurface src, ISurface dest, Rectangle rect ) : void |
Method | Description | |
---|---|---|
ComputeCellColor ( int x, int y, ISurface src, int cellSize, Rectangle srcBounds ) : ColorBgra | ||
GetCellBox ( int x, int y, int cellSize ) : Rectangle |
public PixelateEffect ( int cellSize = 2 ) : System | ||
cellSize | int | Size of the pixelation. Valid range is 0 - 100. |
return | System |
protected RenderLine ( ISurface src, ISurface dest, Rectangle rect ) : void | ||
src | ISurface | |
dest | ISurface | |
rect | Rectangle | |
return | void |