title: My text bounding rectangle
body: <p>From the following code, we can get the bounding rectangle of our text:</p>
  
  <pre><code>Graphics2D twoD = (Graphics2D) g;
  FontRenderContext frc = twoD.getFontRenderContext();
  Rectangle2D textBound = myFont.getStringBounds(myText, frc);
  </code></pre>
  
  <p>but in core java textbook, it says that </p>
  
  <blockquote>
    <p>the rectangle has its origin at the
    baseline of the string, and the top
    y-coordinate of the rectangle is
    negative.</p>
  </blockquote>
  
  <p>What is that mean, why the top y-coordinate is negative?</p>
  
  <p>And any more clarification to this concept is highly appreciated?</p>
  
  <p>Thanks</p>