/** * {@inheritDoc} * * @since 1.2 */ public void setFrame(double x, double y, double w, double h) { setRoundRect(x, y, w, h, getArcWidth(), getArcHeight()); }
/** * 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()); }