java.awt.geom
public abstract class RoundRectangle2D extends RectangularShape
UNKNOWN: December 3, 2000
Nested Class Summary | |
---|---|
static class | RoundRectangle2D.Double
A subclass of RoundRectangle which keeps its parameters as
doubles. |
static class | RoundRectangle2D.Float
A subclass of RoundRectangle which keeps its parameters as
floats. |
Constructor Summary | |
---|---|
protected | RoundRectangle2D()
Create a RoundRectangle2D. |
Method Summary | |
---|---|
boolean | contains(double x, double y)
Return true if this object contains the specified point. |
boolean | contains(double x, double y, double w, double h)
Return true if this object contains the specified rectangle |
abstract double | getArcHeight()
Return the arc height of this round rectangle. |
abstract double | getArcWidth()
Return the arc width of this round rectangle. |
PathIterator | getPathIterator(AffineTransform at)
Return a new path iterator which iterates over this rectangle.
|
boolean | intersects(double x, double y, double w, double h)
Return true if the given rectangle intersects this shape. |
void | setFrame(double x, double y, double w, double h)
Set the boundary of this round rectangle. |
abstract void | setRoundRect(double x, double y, double w, double h, double arcWidth, double arcHeight)
Set the values of this round rectangle.
|
void | setRoundRect(RoundRectangle2D rr)
Set the values of this round rectangle to be the same as those
of the argument. |
Parameters: x The x coordinate y The y coordinate
Parameters: x The x coordinate y The y coordinate w The width h The height
Returns: The arc height.
See Also: getArcWidth
Returns: The arc width.
See Also: getArcHeight
Parameters: at An affine transform to apply to the object
Parameters: x The x coordinate y The y coordinate w The width h The height
Parameters: x The x coordinate y The y coordinate w The width h The height
Parameters: x The x coordinate y The y coordinate w The width h The height arcWidth The arc width arcHeight The arc height
Parameters: rr The round rectangle to copy