Java - best library to help draw text at arbitrary anchor points
问题 I'm familiar with how to use the various FontMetrics functions to center text vertically, horizontally, and whatnot. However, I am looking for a library that supports drawing text at a given xy location relative to the string (e.g. I want the center of the string at x,y, or I want the upper right corner of it to be here, etc.) I found JCommon and its text anchors which purport to do that, but I am having trouble getting it to work and the forum is heretofore unresponsive. I'm aware I could