我有以下内容GradientStopCollection:
GradientStopCollection grsc = new GradientStopCollection(3);
grsc.Add(new GradientStop(Colors.Red, 0));
grsc.Add(new GradientStop(Colors.Yellow, .5));
grsc.Add(new GradientStop(Colors.Green, 1));
Run Code Online (Sandbox Code Playgroud)
我可以在特定的"位置"获得颜色吗?例如:
Yellow<~>GreenWPF/某些第三方库中是否有API 可以做到这一点?