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

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

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

            return(blendedColor);
        }