public void drawText(Graphics2D g) {
		float dy = 0;
		for (TextShaperLine line : lines) {
			float y = dy + line.getAscent(); // move the drawing down to the start of the next line
			line.draw(g, 0, y);
			dy += line.getHeight();
		}
	}
Renders the wrapped text into the graphics used to create this class.
@param g the graphics into which the text should be painted.
Ghidra/Framework/Docking/src/main/java/docking/util/TextShaper.java