问题
Please tell me how can I create a RadialGradientBrush in Windows Phone 8.1 app?
I've tried to find it here but there is no such brush
Windows.UI.Xaml.Media
Any ideas?
Thank you!
回答1:
If you don't mind installing the new Microsoft's Win2D library from NuGet or their Win2D GitHub, you can use the Microsoft.Graphics.Canvas.CanvasRadialGradientBrush
.
For further reference:
Microsoft.Graphics.Canvas.CanvasRadialGradientBrush
来源:https://stackoverflow.com/questions/27943177/radialgradientbrush-in-windows-phone-8-1