C# Class Pinta.ImageManipulation.Effects.AddNoiseEffect

Inheritance: BaseEffect
Mostra file Open project: PintaProject/Pinta.ImageManipulation

Public Methods

Method Description
AddNoiseEffect ( int intensity = 64, int colorSaturation = 100, double coverage = 100.0 ) : System

Creates a new effect that will add noise to an image.

Protected Methods

Method Description
Render ( ColorBgra src, ColorBgra dst, int length ) : void

Private Methods

Method Description
AddNoiseEffect ( ) : System
InitLookup ( ) : void
NormalCurve ( double x, double scale ) : double

Method Details

AddNoiseEffect() public method

Creates a new effect that will add noise to an image.
public AddNoiseEffect ( int intensity = 64, int colorSaturation = 100, double coverage = 100.0 ) : System
intensity int The intensity of the effect. Valid range is 0 - 100.
colorSaturation int The color saturation of the effect. Valid range is 0 - 400.
coverage double The coverage density of the effect. Valid range is 0 - 100.
return System

Render() protected method

protected Render ( ColorBgra src, ColorBgra dst, int length ) : void
src ColorBgra
dst ColorBgra
length int
return void