메소드 | 설명 | |
---|---|---|
PixelateEffect ( int cellSize = 2 ) : System |
Creates a new effect that will pixelate an image.
|
메소드 | 설명 | |
---|---|---|
RenderLine ( ISurface src, ISurface dest, Rectangle rect ) : void |
메소드 | 설명 | |
---|---|---|
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. |
리턴 | System |
protected RenderLine ( ISurface src, ISurface dest, Rectangle rect ) : void | ||
src | ISurface | |
dest | ISurface | |
rect | Rectangle | |
리턴 | void |