Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OuterGlowBitmapEffect Alternative Without BitmapEffects

What is a good alternative to OuterGlowBitmapEffect?

Preferably one that can be used in a theme/style and one that can be used without BitmapEffects.

like image 720
akshaykarthik Avatar asked May 20 '10 01:05

akshaykarthik


1 Answers

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.

like image 176
Charlie Avatar answered Nov 03 '22 03:11

Charlie