Свойство | Тип | Описание | |
---|---|---|---|
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 GetPalette ( |
||
colorCount | ||
Результат | List |
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 |
protected OnPrepare ( |
||
image | ||
Результат | void |
public Prepare ( |
||
image | ||
Результат | void |