C# Class Signum.Windows.ColorExtensions

Show file Open project: signumsoftware/framework

Public Properties

Property Type Description
ToDarkColor IValueConverter
ToLightColor IValueConverter

Public Methods

Method Description
Alpha ( this color, float alpha ) : Color
Lerp ( Color a, float coef, Color b ) : Color
Lerp ( Color a, float coef, Color b, float alpha ) : Color

Method Details

Alpha() public static method

public static Alpha ( this color, float alpha ) : Color
color this
alpha float
return Color

Lerp() public static method

public static Lerp ( Color a, float coef, Color b ) : Color
a Color
coef float
b Color
return Color

Lerp() public static method

public static Lerp ( Color a, float coef, Color b, float alpha ) : Color
a Color
coef float
b Color
alpha float
return Color

Property Details

ToDarkColor public static property

public static IValueConverter ToDarkColor
return IValueConverter

ToLightColor public static property

public static IValueConverter ToLightColor
return IValueConverter