2012-02-28 71 views

回答

0

尝试这个比较....这工作,如果你有ImageView的得到的ImageView的绘制,然后将其转换为位图drawable

BitmapDrawable bd =(BitmapDrawable)drawable.getDrawable(); (),getPixel(evet.getX(),event.getY())); int alpha = Color.alpha(bd.getBitmap

相关问题