public static CustomColor Lerp(CustomColor min, CustomColor max, float position) { return(new CustomColor(min.Red + (max.Red - min.Red) * position, min.Green + (max.Green - min.Green) * position, min.Blue + (max.Blue - min.Blue) * position)); }
public PieChartInfo(int sliceCount, CustomColor color, string label, string tooltip) { SliceCount = sliceCount; Color = color; Label = label; Tooltip = tooltip; }
public static CustomColor Lerp(CustomColor min, CustomColor max, float position) { return new CustomColor(min.Red + (max.Red - min.Red)*position, min.Green + (max.Green - min.Green)*position, min.Blue + (max.Blue - min.Blue)*position); }