Method | Description | |
---|---|---|
CachePalette ( IList |
Caches the palette.
|
|
ChangeCacheProvider ( IColorCache colorCache ) : void |
Changes the cache provider.
|
Method | Description | |
---|---|---|
BaseColorCacheQuantizer ( ) : System |
Initializes a new instance of the BaseColorCacheQuantizer class.
|
|
OnCreateDefaultCache ( ) : IColorCache |
Called when it is needed to create default cache (no cache is supplied from outside).
|
|
OnGetPalette ( |
See BaseColorQuantizer.OnGetPalette for more details.
|
|
OnGetPaletteIndex ( Color color, |
See BaseColorQuantizer.OnGetPaletteIndex for more details.
|
|
OnGetPaletteToCache ( |
Redirection to retrieve palette to be cached, if palette is not available yet.
|
|
OnPrepare ( |
See BaseColorQuantizer.OnPrepare for more details.
|
Method | Description | |
---|---|---|
GetColorCache ( ) : IColorCache |
protected BaseColorCacheQuantizer ( ) : System | ||
return | System |
public CachePalette ( IList |
||
palette | IList |
The palette. |
return | void |
public ChangeCacheProvider ( IColorCache colorCache ) : void | ||
colorCache | IColorCache | The color cache. |
return | void |
protected abstract OnCreateDefaultCache ( ) : IColorCache | ||
return | IColorCache |
protected final OnGetPalette ( |
||
colorCount | ||
return | List |
protected OnGetPaletteIndex ( Color color, |
||
color | Color | |
key | ||
x | ||
y | ||
paletteIndex | int | |
return | void |
protected abstract OnGetPaletteToCache ( |
||
colorCount | ||
return | List |
protected OnPrepare ( |
||
image | ||
return | void |