java.awt.geom
Class RoundRectangle2D.Double
java.lang.Object
|
+--java.awt.geom.RectangularShape
|
+--java.awt.geom.RoundRectangle2D
|
+--java.awt.geom.RoundRectangle2D.Double
A subclass of RoundRectangle which keeps its parameters as
doubles.
Double()
|
Double(double x, double y, double w, double h, double arcWidth, double arcHeight)
|
archeight
public double archeight
The height of the corner arc.
arcwidth
public double arcwidth
The width of the corner arc.
height
public double height
The height of this object.
width
public double width
The width of this object.
x
public double x
The x coordinate of this object.
y
public double y
The y coordinate of this object.
Double
public Double()
Construct a new instance, with all parameters set to 0.
Double
public Double(double x, double y, double w, double h, double arcWidth, double arcHeight)
Construct a new instance with the given arguments.
Parameters:
getArcHeight
public double getArcHeight()
getArcWidth
public double getArcWidth()
getBounds2D
public Rectangle2D getBounds2D()
getHeight
public double getHeight()
getWidth
public double getWidth()
getX
public double getX()
getY
public double getY()
isEmpty
public boolean isEmpty()
setRoundRect
public void setRoundRect(double x, double y, double w, double h, double arcWidth, double arcHeight)
Parameters: