C# Class SimplePaletteQuantizer.Quantizers.DistinctSelection.DistinctColorInfo

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

Public Methods

Method 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 method

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

IncreaseCount() public method

Increases the count of pixels of this color.
public IncreaseCount ( ) : DistinctColorInfo
return DistinctColorInfo