C# Class Pinta.ImageManipulation.Effects.AddNoiseEffect

Inheritance: BaseEffect
Afficher le fichier Open project: PintaProject/Pinta.ImageManipulation

Méthodes publiques

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

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

Méthodes protégées

Méthode Description
Render ( ColorBgra src, ColorBgra dst, int length ) : void

Private Methods

Méthode Description
AddNoiseEffect ( ) : System
InitLookup ( ) : void
NormalCurve ( double x, double scale ) : double

Method Details

AddNoiseEffect() public méthode

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.
Résultat System

Render() protected méthode

protected Render ( ColorBgra src, ColorBgra dst, int length ) : void
src ColorBgra
dst ColorBgra
length int
Résultat void