Hi, I don't know if this is a possible thing.
I would like to put a Background image, and on the top of it a transparent panel, that has a blur effect on it, so everything behind it's blurred.
1. Have two copies of the image
2. Blur the second one
3. Create mask image with shape to blur through - make color of shape transparent
4. Draw original image outside mask (see how Erel does it or use his code)
5. Draw blurred image inside mask
P.S. I don't know why the spelling checker of this reply doesn't like "Erel"
3. Create mask image with shape to blur through - make color of shape transparent
4. Draw original image outside mask (see how Erel does it or use his code)
5. Draw blurred image inside mask
1. Have two copies of the image
2. Blur the second one
3. Create mask image with shape to blur through - make color of shape transparent
4. Draw original image outside mask (see how Erel does it or use his code)
5. Draw blurred image inside mask
P.S. I don't know why the spelling checker of this reply doesn't like "Erel"
When the user touches the panel, a brush shape like a circle appears with the contents blurred.
As the user moves the finger the shape follows it.
When the finger is lifted the shape disappears.
The difficult task, for me, is to be able to follow the movement of the panel.
If it was needed to blur the new area just after the movement then the code is already done.
It will be really interesting to see solution to this.
I think that the solution will come from Reflection of JavaObject.
When the user touches the panel, a brush shape like a circle appears with the contents blurred.
As the user moves the finger the shape follows it.
When the finger is lifted the shape disappears.
Moving the panel with finger could maybe apply with my solution/code.
But if the panel is moved from code.....here come my difficulties......following the movement smoothly.
When the user touches the panel, a brush shape like a circle appears with the contents blurred.
As the user moves the finger the shape follows it.
When the finger is lifted the shape disappears.
Moving from A to B in one shot work without problems.
Trying with SetLayoutAnimated it looks like the panel get immediately the new coordinates, and the movement is an independent animation.
But this is a my limitation.
I am pretty sure someone have the solution in the pocket.