C# Class Nintenlord.Forms.ColorHelpers

Datei anzeigen Open project: Diegoisawesome/AwesomeMapEditor-old

Public Methods

Method Description
GetAntiColor ( this color ) : Color
GetBrightness ( this color ) : int
ToHsv ( this color, int &Hue, int &Saturation, int &Value ) : void

Stolen from... somewhere. All credits go to there >_>.

ToRgb ( int Hue, int Saturation, int Value ) : Color

Method Details

GetAntiColor() public static method

public static GetAntiColor ( this color ) : Color
color this
return Color

GetBrightness() public static method

public static GetBrightness ( this color ) : int
color this
return int

ToHsv() public static method

Stolen from... somewhere. All credits go to there >_>.
public static ToHsv ( this color, int &Hue, int &Saturation, int &Value ) : void
color this
Hue int
Saturation int
Value int
return void

ToRgb() public static method

public static ToRgb ( int Hue, int Saturation, int Value ) : Color
Hue int
Saturation int
Value int
return Color