Add noise effect to a drawing

2019-02-11 11:16发布

问题:

I'm in the process of creating a custom view for my android application and would like to add a noise overlay over my drawings.

My drawings are pretty standard, arcs, bezier curves, etc.

What would be the way to go with creating a noise overlay over arbitrary shapes, drawn with canvas?

回答1:

Use a tileable transparent noise png and cover the canvas with it.