Can someone tell me how to cut text directly in Java 2d?
Here's the code, it draws a column of text that naturally aligns to the left.
Font yFont = new Font("Arial", Font.BOLD, 13); interval = 0; g2d.setFont(yFont); for (String l : binLabels) { g2d.drawString(l, 0, (135 + interval)); interval = interval + 15; }
Driving me crazy. Thanks y'all
slothishtype
java java-2d
slotishtype
source share