C# Класс ArduinoTest.Components.ColorManagment.Service.ColorHelper

Helps with the process of resolving a single color from many colors
Наследование: IColorHelper
Показать файл Открыть проект

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

Метод Описание
ComputeAverageColors ( IEnumerable colors ) : Color

Gets the average of all the colors provided

ComputeProminentColor ( IEnumerable colors ) : Color

Computes the color that shows up the most often

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

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

Gets the average of all the colors provided
public ComputeAverageColors ( IEnumerable colors ) : Color
colors IEnumerable /// The total collection of sampled colors ///
Результат Color

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

Computes the color that shows up the most often
public ComputeProminentColor ( IEnumerable colors ) : Color
colors IEnumerable /// The total collection of sampled colors ///
Результат Color