0
的我有一個類和我所設定的範圍,象這樣:Touch是的getBounds()中繪製對象
tattoo.setBounds(getWidth()/2 - zoomController - x, getHeight()/2 - zoomController - y, getWidth()/ 2 + zoomController - x, getHeight()/ 2 + zoomController - y);
tattoo.draw(c);
我希望能夠執行一個動作時,在這些範圍內的用戶點擊。檢查點擊是否在界限內的最簡單方法是什麼?