CSharpUtils.ColorUtils.Mix C# (CSharp) Метод

Mix() публичный статический Метод

public static Mix ( Color Color1, Color Color2, double Step ) : Color
Color1 Color
Color2 Color
Step double
Результат Color
		public static Color Mix(Color Color1, Color Color2, double Step)
		{
			var WeightSum = (int)ushort.MaxValue;
			var Weight2 = (int)(WeightSum * Step);
			var Weight1 = WeightSum - Weight2;
			return Mix(Color1, Color2, WeightSum, Weight1, Weight2);
		}

Same methods

ColorUtils::Mix ( Color Color1, Color Color2, int WeightSum, int Weight1, int Weight2 ) : Color