However I would like to make the choice of gradient colors úser friendly
Here is my code that makes the gradient color
new SharpDX.Direct2D1.GradientStopCollection(RenderTarget, new SharpDX.Direct2D1.GradientStop[] { //colorenum = Enum.Parse(typeof(KnownColor),"Black"); new SharpDX.Direct2D1. GradientStop() { Color = SharpDX.Color.HotPink,/// grey horrible Position = 0, }, new SharpDX.Direct2D1. GradientStop() { Color = SharpDX.Color.AntiqueWhite, Position = 1, } }));
a SharpDX4 color.
I have looked at the help guides but can only get so far as an argb which is most un user friendly.
I just want the user to be able to pick eg ForestGreen and Yellow as the two ingredients for the GradientStop colors.
Any help much appreciated.
Comment