C# 클래스 ArduinoTest.Components.ColorManagment.Service.ColorHelper

Helps with the process of resolving a single color from many colors
상속: IColorHelper
파일 보기 프로젝트 열기: holymoo/Disposition

공개 메소드들

메소드 설명
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