java.awt.geom
public static class RoundRectangle2D.Float extends RoundRectangle2D
Field Summary | |
---|---|
float | archeight The height of the corner arc. |
float | arcwidth The width of the corner arc. |
float | height The height of this object. |
float | width The width of this object. |
float | x The x coordinate of this object. |
float | y The y coordinate of this object. |
Constructor Summary | |
---|---|
Float()
Construct a new instance, with all parameters set to 0. | |
Float(float x, float y, float w, float h, float arcWidth, float arcHeight)
Construct a new instance with the given arguments. |
Method Summary | |
---|---|
double | getArcHeight() |
double | getArcWidth() |
Rectangle2D | getBounds2D() |
double | getHeight() |
double | getWidth() |
double | getX() |
double | getY() |
boolean | isEmpty() |
void | setRoundRect(float x, float y, float w, float h, float arcWidth, float arcHeight)
Sets the dimensions for this rounded rectangle.
|
void | setRoundRect(double x, double y, double w, double h, double arcWidth, double arcHeight) |
Parameters: x The x coordinate y The y coordinate w The width h The height arcWidth The arc width arcHeight The arc height
Parameters: x the x-coordinate of the top left corner. y the y-coordinate of the top left corner. w the width of the rectangle. h the height of the rectangle. arcWidth the arc width. arcHeight the arc height.
See Also: Float