C# Класс SimplePaletteQuantizer.Quantizers.DistinctSelection.DistinctColorInfo

Stores all the informations about single color only once, to be used later.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DistinctColorInfo ( Color color ) : System

Initializes a new instance of the DistinctColorInfo struct.

IncreaseCount ( ) : DistinctColorInfo

Increases the count of pixels of this color.

Описание методов

DistinctColorInfo() публичный Метод

Initializes a new instance of the DistinctColorInfo struct.
public DistinctColorInfo ( Color color ) : System
color Color
Результат System

IncreaseCount() публичный Метод

Increases the count of pixels of this color.
public IncreaseCount ( ) : DistinctColorInfo
Результат DistinctColorInfo