+ drawDottedRectangle(Graphics, Rectangle)

This commit is contained in:
Konstantin Bulenkov
2016-10-21 14:16:17 +02:00
parent 0c04e878d4
commit a46f1768b6
@@ -1577,6 +1577,10 @@ public class UIUtil {
sb.append(Integer.toHexString(color.getBlue()));
}
public static void drawDottedRectangle(Graphics g, Rectangle r) {
drawDottedRectangle(g, r.x, r.y, r.x + r.width, r.y + r.height);
}
/**
* @param g graphics.
* @param x top left X coordinate.