static void drawText(Graphics2D g, S text, Pt p, Color color) { g.setColor(color); g.drawString(p.x, p.y, text); }