Метод | Описание | |
---|---|---|
ConvertHsvToRgb ( float hue, float saturation, float value ) : Color | ||
ConvertRgbToHsv ( Color c ) : |
Converts from the Red/Green/Blue color space to the Hue/Sat/Val (HSV) color space. Algorithm ported from: http://www.codeproject.com/KB/recipes/colorspace1.aspx
|
|
GetBlackAndWhiteGradientBrush ( Orientation orientation ) : |
||
GetColorFromHueValue ( float position ) : Color | ||
GetColorGradientBrush ( Orientation orientation ) : |
||
GetHexCode ( Color c ) : string |
Метод | Описание | |
---|---|---|
CreateGradientBrush ( Orientation orientation ) : |
public static ConvertHsvToRgb ( float hue, float saturation, float value ) : Color | ||
hue | float | |
saturation | float | |
value | float | |
Результат | Color |
public static ConvertRgbToHsv ( Color c ) : |
||
c | Color | The color to convert. |
Результат |
public static GetBlackAndWhiteGradientBrush ( Orientation orientation ) : |
||
orientation | Orientation | |
Результат |
public static GetColorFromHueValue ( float position ) : Color | ||
position | float | |
Результат | Color |
public static GetColorGradientBrush ( Orientation orientation ) : |
||
orientation | Orientation | |
Результат |
public static GetHexCode ( Color c ) : string | ||
c | Color | |
Результат | string |