Свойство | Type | Description | |
---|---|---|---|
UniqueColors | Int16>.ConcurrentDictionary |
Méthode | Description | |
---|---|---|
AddColor ( Color color, |
See IColorQuantizer.AddColor for more details.
|
|
ChangePathProvider ( IPathProvider pathProvider ) : void |
Changes the path provider.
|
|
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.
|
|
GetPointPath ( |
See IPathProvider.GetPointPath for more details.
|
|
Prepare ( |
See IColorQuantizer.Prepare for more details.
|
Méthode | Description | |
---|---|---|
BaseColorQuantizer ( ) : System |
Initializes a new instance of the BaseColorQuantizer class.
|
|
OnAddColor ( Color color, |
Called when color is to be added.
|
|
OnCreateDefaultPathProvider ( ) : IPathProvider |
Called when a need to create default path provider arisen.
|
|
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.
|
Méthode | Description | |
---|---|---|
GetPathProvider ( ) : IPathProvider |
public AddColor ( Color color, |
||
color | Color | |
x | ||
y | ||
Résultat | void |
public ChangePathProvider ( IPathProvider pathProvider ) : void | ||
pathProvider | IPathProvider | The path provider. |
Résultat | void |
public GetPalette ( |
||
colorCount | ||
Résultat | List |
public GetPaletteIndex ( Color color, |
||
color | Color | |
x | ||
y | ||
Résultat |
public GetPointPath ( |
||
width | ||
heigth | ||
Résultat | IList |
protected OnAddColor ( Color color, |
||
color | Color | |
key | ||
x | ||
y | ||
Résultat | void |
protected OnCreateDefaultPathProvider ( ) : IPathProvider | ||
Résultat | IPathProvider |
protected OnGetPalette ( |
||
colorCount | ||
Résultat | List |
protected OnGetPaletteIndex ( Color color, |
||
color | Color | |
key | ||
x | ||
y | ||
paletteIndex | ||
Résultat | void |
protected OnPrepare ( |
||
image | ||
Résultat | void |
public Prepare ( |
||
image | ||
Résultat | void |