C# Class ColorLibrary.Processor

Datei anzeigen Open project: Confirmit/Students Class Usage Examples

Public Methods

Method Description
Mix ( Green first, Green second ) : string
Mix ( Green first, Red second ) : string
Mix ( Red first, Green second ) : string
Mix ( Red first, Red second ) : string

Private Methods

Method Description
Submix ( IColored a, IColored b ) : string

Method Details

Mix() public method

public Mix ( Green first, Green second ) : string
first Green
second Green
return string

Mix() public method

public Mix ( Green first, Red second ) : string
first Green
second Red
return string

Mix() public method

public Mix ( Red first, Green second ) : string
first Red
second Green
return string

Mix() public method

public Mix ( Red first, Red second ) : string
first Red
second Red
return string