RadialGradientBrush in Windows Phone 8.1?

孤者浪人 提交于 2019-12-12 21:15:24

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!