OuterGlowBitmapEffect Alternative Without BitmapEffects

邮差的信 提交于 2019-12-04 05:05:06

The standard Effect library provides a DropShadowEffect that can be set up to look just like an OuterGlowBitmapEffect. The nice thing about this effect is that it is hardware-accelerated (unlike the bitmap effects, which are done in software). To make the DropShadowEffect look like a glow, simply set the ShadowDepth property to 0.

Donno if is good or not, I never tested it, I just read about it, check it out here.

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