Пример #1
0
 public Point getLocation() {
   return rr.getBounds().getLocation();
 }
Пример #2
0
 public static void fastFill(Graphics2D g2, RoundRectangle2D r) {
   Rectangle b = r.getBounds();
   g2.fillRoundRect(b.x, b.y, b.width, b.height, (int) r.getArcWidth(), (int) r.getArcHeight());
 }