C# Class Pinta.ImageManipulation.Effects.BrightnessContrastEffect

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

Méthodes publiques

Méthode Description
BrightnessContrastEffect ( int brightness, int contrast ) : System

Creates a new effect that will adjust the brightness and contrast of an image.

Méthodes protégées

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

Private Methods

Méthode Description
Calculate ( ) : void

Method Details

BrightnessContrastEffect() public méthode

Creates a new effect that will adjust the brightness and contrast of an image.
public BrightnessContrastEffect ( int brightness, int contrast ) : System
brightness int Desired brightness of the image. Valid range is -100 - 100.
contrast int Desired contrast of the image. Valid range is -100 - 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