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

The palette color history containing the sum of all pixel data. Adapted from
ファイルを表示 Open project: JimBobSquarePants/ImageProcessor Class Usage Examples

Public Properties

Property Type Description
Alpha int
Blue int
Green int
Red int
Sum int

Public Methods

Method Description
AddPixel ( ImageProcessor.Imaging.Colors.Color32 pixel ) : void

Adds a pixel to the color history.

ToNormalizedColor ( ) : Color

Normalizes the color.

Method Details

AddPixel() public method

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

ToNormalizedColor() public method

Normalizes the color.
public ToNormalizedColor ( ) : Color
return System.Drawing.Color

Property Details

Alpha public_oe property

The alpha component.
public int Alpha
return int

Blue public_oe property

The blue component.
public int Blue
return int

Green public_oe property

The green component.
public int Green
return int

Red public_oe property

The red component.
public int Red
return int

Sum public_oe property

The sum of the color components.
public int Sum
return int