Method | Description | |
---|---|---|
ClampColorValue ( double colorValue, double min, double max ) : double | ||
ClampColorValue ( int colorValue, int min, int max ) : int | ||
ColorToHsv ( Color color, double &h, double &s, double &v ) : void | ||
ConvertColorFromString ( string s ) : Color | ||
GetInvertTextColor ( Color backgroundColor ) : Color | ||
HslToRgb ( double hue, double saturation, double lightness ) : |
||
HsvToColor ( double h, double s, double v ) : Color | ||
HsvToRgb ( double h, double s, double v, double &r, double &g, double &b ) : void | ||
RgbToHsl ( System color, double &hue, double &saturation, double &lightness ) : void | ||
RgbToHsv ( double r, double g, double b, double &h, double &s, double &v ) : void |
public static ClampColorValue ( double colorValue, double min, double max ) : double | ||
colorValue | double | |
min | double | |
max | double | |
return | double |
public static ClampColorValue ( int colorValue, int min, int max ) : int | ||
colorValue | int | |
min | int | |
max | int | |
return | int |
public static ColorToHsv ( Color color, double &h, double &s, double &v ) : void | ||
color | Color | |
h | double | |
s | double | |
v | double | |
return | void |
public static ConvertColorFromString ( string s ) : Color | ||
s | string | |
return | Color |
public static GetInvertTextColor ( Color backgroundColor ) : Color | ||
backgroundColor | Color | |
return | Color |
public static HslToRgb ( double hue, double saturation, double lightness ) : |
||
hue | double | |
saturation | double | |
lightness | double | |
return |
public static HsvToColor ( double h, double s, double v ) : Color | ||
h | double | |
s | double | |
v | double | |
return | Color |
public static HsvToRgb ( double h, double s, double v, double &r, double &g, double &b ) : void | ||
h | double | |
s | double | |
v | double | |
r | double | |
g | double | |
b | double | |
return | void |
public static RgbToHsl ( System color, double &hue, double &saturation, double &lightness ) : void | ||
color | System | |
hue | double | |
saturation | double | |
lightness | double | |
return | void |
public static RgbToHsv ( double r, double g, double b, double &h, double &s, double &v ) : void | ||
r | double | |
g | double | |
b | double | |
h | double | |
s | double | |
v | double | |
return | void |