安卓手指画
我正在开发一个应用程序,借助 site 这里最近绘制的颜色之一与先前在同一位置绘制的颜色重叠。有没有什么方法可以限制一种或两种颜色不与其他颜色重叠换句话说,如果我在画布上绘制了红色(或用户想要的任何颜色),那么任何颜色都不应该隐藏它,它永远不会显示.如果您不清楚问题,请告诉我,
提前致谢,..
I m developing an application to paint the the canvas using finger stroke with the help of FingerPaint application given at the site Here one of the recently drawn color overlap the color previously drawn at same palce. Is there any way to limit one or two color that doesn't get overlapped by other In other words if i had drawn red(or any that user wants) color on canvas then none of the color should hide this it will show ever n ever.Let me know if the problem is not clear to you
thanks in advance,..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用的是 GLSurface,则可以使用 GL 像素操作的常规方法 - 特别是 getPixels()。有很多方法可以在 GL 中享受像素的乐趣 - 您可以添加混合、缩放等,甚至可以将现有画布转换为场景中模型上的纹理。
如果您不使用 GLSurface...其他人将需要帮助。 :)
If you are using a GLSurface you can use the normal method of GL pixel manipulation - in particular, getPixels(). There are many ways to have fun with pixels in GL - you can add blending, scaling, etc and even convert the existing canvas into a texture on a model in the scene.
If you are not using a GLSurface... someone else will need to help. :)