C# 클래스 ImageProcessor.Imaging.Quantizers.WuQuantizer.PaletteColorHistory

The palette color history containing the sum of all pixel data. Adapted from
파일 보기 프로젝트 열기: JimBobSquarePants/ImageProcessor 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Alpha int
Blue int
Green int
Red int
Sum int

공개 메소드들

메소드 설명
AddPixel ( ImageProcessor.Imaging.Colors.Color32 pixel ) : void

Adds a pixel to the color history.

ToNormalizedColor ( ) : Color

Normalizes the color.

메소드 상세

AddPixel() 공개 메소드

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

ToNormalizedColor() 공개 메소드

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

프로퍼티 상세

Alpha 공개적으로 프로퍼티

The alpha component.
public int Alpha
리턴 int

Blue 공개적으로 프로퍼티

The blue component.
public int Blue
리턴 int

Green 공개적으로 프로퍼티

The green component.
public int Green
리턴 int

Red 공개적으로 프로퍼티

The red component.
public int Red
리턴 int

Sum 공개적으로 프로퍼티

The sum of the color components.
public int Sum
리턴 int