[Interest] Blur part of rectangle possible?
Mark Gaiser
markg85 at gmail.com
Thu Feb 6 00:41:36 CET 2014
On Wed, Feb 5, 2014 at 11:48 PM, Josh Faust <jfaust at suitabletech.com> wrote:
>> That could probably work if i want to blur an image.
>> In this case i want to blur the bottom part of a ListView where i want
>> to overlay a search field and blur the background.
>> That case makes splitting it a bit difficult ;)
>
>
> You can use sourceRect on ShaderEffectSource, and then apply the blur to
> that ShaderEffectSource. This will end up drawing the ListView twice, which
> may or may not be OK.
I've tried that. You get quite funny results :)
But in reality having your full ListView crammed into a small version
isn't looking good. The intention is to blur just a small part of the
listview and doing this trick makes it look very wrong and out of
place.
More information about the Interest
mailing list