Method | Description | |
---|---|---|
Apply ( ColorBgra src, int area, int hb, int hg, int hr, int ha ) : ColorBgra | ||
MedianEffect ( int radius = 10, int percentile = 50 ) : System |
Creates a new effect that will apply a median effect to the image.
|
Method | Description | |
---|---|---|
RenderLine ( ISurface src, ISurface dest, Rectangle rect ) : void |
public Apply ( ColorBgra src, int area, int hb, int hg, int hr, int ha ) : ColorBgra | ||
src | ColorBgra | |
area | int | |
hb | int | |
hg | int | |
hr | int | |
ha | int | |
return | ColorBgra |
public MedianEffect ( int radius = 10, int percentile = 50 ) : System | ||
radius | int | Radius to consider for median. Valid range is 1 - 200. |
percentile | int | Percentile to use for median. Valid range is 0 - 100. |
return | System |
protected RenderLine ( ISurface src, ISurface dest, Rectangle rect ) : void | ||
src | ISurface | |
dest | ISurface | |
rect | Rectangle | |
return | void |