Android - Canvas drawBitmap inside specific area
<p>I'm looking for a way to draw a bitmap in my canvas inside a specific borders,
i'm trying to dynamically change the x,y position of this bitmap - and i want it no to show outside of a specific borders </p>

<p>(image explanation):
<img src="http://i.stack.imgur.com/lGyI7.png" alt="enter image description here"></p>

<p>i know i can draw the box image ontop of the pacman image - but i'm looking for another solution (if possible)</p>
