Метод | Описание | |
---|---|---|
FromHsb ( double hue, double saturation, double value ) : System.Windows.Media.Color | ||
GetBrightness ( this c ) : double | ||
GetHue ( this c ) : double | ||
GetSaturation ( this c ) : double | ||
ToColor ( this color ) : System.Drawing.System.Windows.Media.Color | ||
ToColor ( this color ) : System.Windows.Media.Color | ||
ToHexString ( this color, bool alphaChannel = false ) : string |
Метод | Описание | |
---|---|---|
Clamp ( double i ) : byte | ||
ToColor ( this s ) : Color? |
public static FromHsb ( double hue, double saturation, double value ) : System.Windows.Media.Color | ||
hue | double | |
saturation | double | |
value | double | |
Результат | System.Windows.Media.Color |
public static GetBrightness ( this c ) : double | ||
c | this | |
Результат | double |
public static GetHue ( this c ) : double | ||
c | this | |
Результат | double |
public static GetSaturation ( this c ) : double | ||
c | this | |
Результат | double |
public static ToColor ( this color ) : System.Drawing.System.Windows.Media.Color | ||
color | this | |
Результат | System.Drawing.System.Windows.Media.Color |
public static ToColor ( this color ) : System.Windows.Media.Color | ||
color | this | |
Результат | System.Windows.Media.Color |
public static ToHexString ( this color, bool alphaChannel = false ) : string | ||
color | this | |
alphaChannel | bool | |
Результат | string |