C# Class ColorLibrary.Processor

Afficher le fichier Open project: Confirmit/Students Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
Submix ( IColored a, IColored b ) : string

Method Details

Mix() public méthode

public Mix ( Green first, Green second ) : string
first Green
second Green
Résultat string

Mix() public méthode

public Mix ( Green first, Red second ) : string
first Green
second Red
Résultat string

Mix() public méthode

public Mix ( Red first, Green second ) : string
first Red
second Green
Résultat string

Mix() public méthode

public Mix ( Red first, Red second ) : string
first Red
second Red
Résultat string