title: How to align rectangle to bottom of any device?
body: <pre><code>rec.set(0, 0, canvas.getWidth(), canvas.getHeight()/2);
  </code></pre>
  
  <p>It creates the rectangle as expected, I know 0, 0 is x, y but how do I set y to the bottom so it stays at the bottom on all devices with different size?</p>