## Uses of Class
java.awt.geom.RectangularShape

- Packages that use RectangularShape
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
  java.awt.geom | Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.
  javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel.
  javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components.

- - ### Uses of RectangularShape in java.awt

    Subclasses of RectangularShape in java.awt
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Rectangle` A `Rectangle` specifies an area in a coordinate space that is enclosed by the `Rectangle` object's upper-left point `(x,y)` in the coordinate space, its width, and its height.

  - ### Uses of RectangularShape in java.awt.geom

    Subclasses of RectangularShape in java.awt.geom
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Arc2D` `Arc2D` is the abstract superclass for all objects that store a 2D arc defined by a framing rectangle, start angle, angular extent (length of the arc), and a closure type (`OPEN`, `CHORD`, or `PIE`).
    `static class` | `Arc2D.Double` This class defines an arc specified in `double` precision.
    `static class` | `Arc2D.Float` This class defines an arc specified in `float` precision.
    `class` | `Ellipse2D` The `Ellipse2D` class describes an ellipse that is defined by a framing rectangle.
    `static class` | `Ellipse2D.Double` The `Double` class defines an ellipse specified in `double` precision.
    `static class` | `Ellipse2D.Float` The `Float` class defines an ellipse specified in `float` precision.
    `class` | `Rectangle2D` The `Rectangle2D` class describes a rectangle defined by a location `(x,y)` and dimension `(w x h)`.
    `static class` | `Rectangle2D.Double` The `Double` class defines a rectangle specified in double coordinates.
    `static class` | `Rectangle2D.Float` The `Float` class defines a rectangle specified in float coordinates.
    `class` | `RoundRectangle2D` The `RoundRectangle2D` class defines a rectangle with rounded corners defined by a location `(x,y)`, a dimension `(w x h)`, and the width and height of an arc with which to round the corners.
    `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.

  - ### Uses of RectangularShape in javax.swing.plaf.basic

    Subclasses of RectangularShape in javax.swing.plaf.basic
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `BasicTextUI.BasicCaret`

  - ### Uses of RectangularShape in javax.swing.text

    Subclasses of RectangularShape in javax.swing.text
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultCaret` A default implementation of Caret.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.