namespace WPFluent.Models
{
public struct Hsb
{
public Hsb(double Hue, double Saturation, double Brightness, double opacity = 1)
{
this.Hue = Hue;
this.Saturation = Saturation;
this.Brightness = Brightness;
this.Opacity = opacity;
}
///
/// 亮度0~1
///
public double Brightness { get; set; }
///
/// 色相0~359
///
public double Hue { get; set; }
///
/// 不透明度0~1
///
public double Opacity { get; set; }
///
/// 饱和度0~1
///
public double Saturation { get; set; }
//public override string ToString()
//{
// return base.ToString();
//}
}
}