C# Class huedotnet.HSVRGB

Mostra file Open project: in18/hics Class Usage Examples

Public Methods

Method Description
ConvertToHSL ( int r, int g, int b, double &hue, double &saturation, double &luminance ) : void

Konvertiere RGB nach HSL Farbsystem

ConvertToRGB ( double hue, double sat, double bri, int &r, int &g, int &b ) : void

Konvertier HSL zu RGB Farb-System Die math. Formeln sind vom Internet

Method Details

ConvertToHSL() public method

Konvertiere RGB nach HSL Farbsystem
public ConvertToHSL ( int r, int g, int b, double &hue, double &saturation, double &luminance ) : void
r int Rotwert 0-255
g int Grünwert 0-255
b int Blauwert 0-255
hue double Variable als OUT, auf welche der HUE-Wert gespeichert wird
saturation double Variable als OUT, auf welche der Sättigungs-Wert gespeichert wird
luminance double Variable als OUT, auf welche der Helligkeits-Wert gespeichert wird
return void

ConvertToRGB() public method

Konvertier HSL zu RGB Farb-System Die math. Formeln sind vom Internet
public ConvertToRGB ( double hue, double sat, double bri, int &r, int &g, int &b ) : void
hue double Grad-Parameter in der HSL-Farb-Skala. 0-0.9999
sat double Stättigungswert 0-255
bri double Helligkeit 0-255
r int Out Variable für Rot-Wert
g int Out Variable für Grün-Wert
b int Out Variable für Blau-Wert
return void