예제 #1
0
파일: Element.java 프로젝트: Hypoon/Orange
 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());
 }