title: What does top, left, right and bottom mean in Android Rect object
body: <p>I have an Android project where I should make Apples fall. The apples are painted in a Rect. So I created a function that change the Rect position and repaint. Here's my function :</p>
  
  <pre><code>private void updateApplesPosition() {
      for(Rect rect:fallingDownFruitsList)
          rect.set(rect.left, rect.top +10, rect.right, rect.bottom +10);
  }
  </code></pre>
  
  <p>I have a problem : the Apples don't fall but go from right to left. To make the apples fall I changed the code by this :</p>
  
  <pre><code>private void updateApplesPosition() {
      for(Rect rect:fallingDownFruitsList)
          rect.set(rect.left+10, rect.top, rect.right+10, rect.bottom);
  }
  </code></pre>