Méthode | Description | |
---|---|---|
CachePalette ( IList |
Caches the palette.
|
|
ChangeCacheProvider ( IColorCache colorCache ) : void |
Changes the cache provider.
|
Méthode | 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.
|
Méthode | Description | |
---|---|---|
GetColorCache ( ) : IColorCache |
protected BaseColorCacheQuantizer ( ) : System | ||
Résultat | System |
public CachePalette ( IList |
||
palette | IList |
The palette. |
Résultat | void |
public ChangeCacheProvider ( IColorCache colorCache ) : void | ||
colorCache | IColorCache | The color cache. |
Résultat | void |
protected abstract OnCreateDefaultCache ( ) : IColorCache | ||
Résultat | IColorCache |
protected final OnGetPalette ( |
||
colorCount | ||
Résultat | List |
protected OnGetPaletteIndex ( Color color, |
||
color | Color | |
key | ||
x | ||
y | ||
paletteIndex | int | |
Résultat | void |
protected abstract OnGetPaletteToCache ( |
||
colorCount | ||
Résultat | List |
protected OnPrepare ( |
||
image | ||
Résultat | void |