C# Class SimplePaletteQuantizer.Quantizers.DistinctSelection.DistinctColorInfo

Stores all the informations about single color only once, to be used later.
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Méthode Description
DistinctColorInfo ( Color color ) : System

Initializes a new instance of the DistinctColorInfo struct.

IncreaseCount ( ) : DistinctColorInfo

Increases the count of pixels of this color.

Method Details

DistinctColorInfo() public méthode

Initializes a new instance of the DistinctColorInfo struct.
public DistinctColorInfo ( Color color ) : System
color Color
Résultat System

IncreaseCount() public méthode

Increases the count of pixels of this color.
public IncreaseCount ( ) : DistinctColorInfo
Résultat DistinctColorInfo