Méthode | Description | |
---|---|---|
PixelateEffect ( int cellSize = 2 ) : System |
Creates a new effect that will pixelate an image.
|
Méthode | Description | |
---|---|---|
RenderLine ( ISurface src, ISurface dest, Rectangle rect ) : void |
Méthode | 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. |
Résultat | System |
protected RenderLine ( ISurface src, ISurface dest, Rectangle rect ) : void | ||
src | ISurface | |
dest | ISurface | |
rect | Rectangle | |
Résultat | void |