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