【发布时间】:2010-10-28 21:31:05
【问题描述】:
我有两个图像重叠,我在 ACTION_MOVE 时将像素从底部图像复制到顶部图像。我的目标是为用户提供擦除的感觉,但有时它不会复制(擦除)某些部分,如果触摸事件很快(快速拖动手指)会变得更糟。
这是我用来复制像素的代码
mutable.getPixels(pixels, 0, width, xPos, yPos, width, height) ;
mutable2.setPixels(pixels, 0, width,xPos, yPos, width, height) ;
【问题讨论】:
标签: android image-processing image-manipulation touch touch-event