C# Class ImageProcessor.Imaging.Quantizers.WuQuantizer.PaletteColorHistory

The palette color history containing the sum of all pixel data. Adapted from
Afficher le fichier Open project: JimBobSquarePants/ImageProcessor Class Usage Examples

Méthodes publiques

Свойство Type Description
Alpha int
Blue int
Green int
Red int
Sum int

Méthodes publiques

Méthode Description
AddPixel ( ImageProcessor.Imaging.Colors.Color32 pixel ) : void

Adds a pixel to the color history.

ToNormalizedColor ( ) : Color

Normalizes the color.

Method Details

AddPixel() public méthode

Adds a pixel to the color history.
public AddPixel ( ImageProcessor.Imaging.Colors.Color32 pixel ) : void
pixel ImageProcessor.Imaging.Colors.Color32 /// The pixel to add. ///
Résultat void

ToNormalizedColor() public méthode

Normalizes the color.
public ToNormalizedColor ( ) : Color
Résultat System.Drawing.Color

Property Details

Alpha public_oe property

The alpha component.
public int Alpha
Résultat int

Blue public_oe property

The blue component.
public int Blue
Résultat int

Green public_oe property

The green component.
public int Green
Résultat int

Red public_oe property

The red component.
public int Red
Résultat int

Sum public_oe property

The sum of the color components.
public int Sum
Résultat int