The drawString(...) method of the Graphics class draws a string at (x,y): public void drawString( String s, int x, int y ); |
The anchor point (x,y) is the left-hand endpoint of the string's baseline |
Note: the top left-hand corner of the string's bounding box is at point (x, y - ascent) |