프로퍼티 | 타입 | 설명 | |
---|---|---|---|
UniqueColors | Int16>.ConcurrentDictionary |
메소드 | 설명 | |
---|---|---|
AddColor ( Color color, |
See IColorQuantizer.AddColor for more details.
|
|
Finish ( ) : void |
See IColorQuantizer.Finish for more details.
|
|
GetColorCount ( ) : |
See IColorQuantizer.GetColorCount for more details.
|
|
GetPalette ( |
See IColorQuantizer.GetPalette for more details.
|
|
GetPaletteIndex ( Color color, |
See IColorQuantizer.GetPaletteIndex for more details.
|
|
Prepare ( |
See IColorQuantizer.Prepare for more details.
|
메소드 | 설명 | |
---|---|---|
BaseColorQuantizer ( ) : System |
Initializes a new instance of the BaseColorQuantizer class.
|
|
OnAddColor ( Color color, |
Called when color is to be added.
|
|
OnFinish ( ) : void |
Called when about to clear left-overs after quantization.
|
|
OnGetColorCount ( ) : |
Called when get color count.
|
|
OnGetPalette ( |
Called when quantized palette is needed.
|
|
OnGetPaletteIndex ( Color color, |
Called when get palette index for a given color should be returned.
|
|
OnPrepare ( |
Called when quantizer is about to be prepared for next round.
|
public AddColor ( Color color, |
||
color | Color | |
x | ||
y | ||
리턴 | void |
public GetPaletteIndex ( Color color, |
||
color | Color | |
x | ||
y | ||
리턴 |
protected OnAddColor ( Color color, |
||
color | Color | |
key | ||
x | ||
y | ||
리턴 | void |
protected OnGetPalette ( |
||
colorCount | ||
리턴 | List |
protected OnGetPaletteIndex ( Color color, |
||
color | Color | |
key | ||
x | ||
y | ||
paletteIndex | ||
리턴 | void |