I\'m writing a canvas app on android and I\'m looking to add shadows, but I\'ve noticed a great slow-down when I add them to my paint object. My code is simple it looks lik
You can achieve almost the same result using this code instead:
mPaint.setMaskFilter(new BlurMaskFilter(20, BlurMaskFilter.Blur.OUTER));