Esempio n. 1
0
 /**
  * {@inheritDoc}
  *
  * @since 1.2
  */
 public void setFrame(double x, double y, double w, double h) {
   setRoundRect(x, y, w, h, getArcWidth(), getArcHeight());
 }
Esempio n. 2
0
 /**
  * Sets this <code>RoundRectangle2D</code> to be the same as the specified <code>RoundRectangle2D
  * </code>.
  *
  * @param rr the specified <code>RoundRectangle2D</code>
  * @since 1.2
  */
 public void setRoundRect(RoundRectangle2D rr) {
   setRoundRect(
       rr.getX(), rr.getY(), rr.getWidth(), rr.getHeight(), rr.getArcWidth(), rr.getArcHeight());
 }