Add noise effect to a drawing

寵の児 提交于 2019-12-18 18:20:53

问题


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.



来源:https://stackoverflow.com/questions/6994289/add-noise-effect-to-a-drawing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!