Method from java.awt.geom.RoundRectangle2D$Float Detail: |
public double getArcHeight() {
return (double) archeight;
}
|
public double getArcWidth() {
return (double) arcwidth;
}
|
public Rectangle2D getBounds2D() {
return new Rectangle2D.Float(x, y, width, height);
}
|
public double getHeight() {
return (double) height;
}
|
public double getWidth() {
return (double) width;
}
|
public double getX() {
return (double) x;
}
|
public double getY() {
return (double) y;
}
|
public boolean isEmpty() {
return (width < = 0.0f) || (height < = 0.0f);
}
|
public void setRoundRect(RoundRectangle2D rr) {
this.x = (float) rr.getX();
this.y = (float) rr.getY();
this.width = (float) rr.getWidth();
this.height = (float) rr.getHeight();
this.arcwidth = (float) rr.getArcWidth();
this.archeight = (float) rr.getArcHeight();
}
|
public void setRoundRect(float x,
float y,
float w,
float h,
float arcw,
float arch) {
this.x = x;
this.y = y;
this.width = w;
this.height = h;
this.arcwidth = arcw;
this.archeight = arch;
}
Sets the location, size, and corner radii of this
RoundRectangle2D to the specified
float values. |
public void setRoundRect(double x,
double y,
double w,
double h,
double arcw,
double arch) {
this.x = (float) x;
this.y = (float) y;
this.width = (float) w;
this.height = (float) h;
this.arcwidth = (float) arcw;
this.archeight = (float) arch;
}
|