# Uses of Class
java.awt.geom.RoundRectangle2D

Packages that use RoundRectangle2D
Package
Description
java.awt.geom
Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.

## Uses of RoundRectangle2D in java.awt.geom

Subclasses of RoundRectangle2D in java.awt.geom
Modifier and Type
Class
Description
`static class`
`RoundRectangle2D.Double`
The `Double` class defines a rectangle with rounded corners all specified in `double` coordinates.
`static class`
`RoundRectangle2D.Float`
The `Float` class defines a rectangle with rounded corners all specified in `float` coordinates.
Methods in java.awt.geom with parameters of type RoundRectangle2D
Modifier and Type
Method
Description
`void`
RoundRectangle2D.Double.`setRoundRect(RoundRectangle2D rr)`
Sets this `RoundRectangle2D` to be the same as the specified `RoundRectangle2D`.
`void`
RoundRectangle2D.Float.`setRoundRect(RoundRectangle2D rr)`
Sets this `RoundRectangle2D` to be the same as the specified `RoundRectangle2D`.
`void`
RoundRectangle2D.`setRoundRect(RoundRectangle2D rr)`
Sets this `RoundRectangle2D` to be the same as the specified `RoundRectangle2D`.