메소드 | 설명 | |
---|---|---|
CachePalette ( IList |
Caches the palette.
|
|
ChangeCacheProvider ( IColorCache colorCache ) : void |
Changes the cache provider.
|
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
GetColorCache ( ) : IColorCache |
public CachePalette ( IList |
||
palette | IList |
The palette. |
리턴 | void |
public ChangeCacheProvider ( IColorCache colorCache ) : void | ||
colorCache | IColorCache | The color cache. |
리턴 | void |
protected abstract OnCreateDefaultCache ( ) : IColorCache | ||
리턴 | IColorCache |
protected final OnGetPalette ( |
||
colorCount | ||
리턴 | List |
protected OnGetPaletteIndex ( Color color, |
||
color | Color | |
key | ||
x | ||
y | ||
paletteIndex | int | |
리턴 | void |
protected abstract OnGetPaletteToCache ( |
||
colorCount | ||
리턴 | List |
protected OnPrepare ( |
||
image | ||
리턴 | void |