示例#1
0
 public static Color ToColor(this BlendedColor blendedColor)
 {
     return(blendedColor.ToColor());
 }
示例#2
0
        public static BlendedColor Blend(double amount, params Color[] colors)
        {
            BlendedColor blendedColor = new BlendedColor(amount, colors);

            return(blendedColor);
        }
示例#3
0
        public static BlendedColor Blend(byte opacity, double amount, params Color[] colors)
        {
            BlendedColor blendedColor = new BlendedColor(opacity, amount, colors);

            return(blendedColor);
        }
示例#4
0
        public static BlendedColor Blend(Color color1, Color color2, byte opacity, double amount)
        {
            BlendedColor blendedColor = new BlendedColor(color1, color2, opacity, amount);

            return(blendedColor);
        }