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

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

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

    Methods in java.awt.geom that return Area
    Modifier and Type | Method | Description
    --- | --- | ---
    `Area` | Area.`createTransformedArea(AffineTransform t)` Creates a new `Area` object that contains the same geometry as this `Area` transformed by the specified `AffineTransform`.

    Methods in java.awt.geom with parameters of type Area
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Area.`add(Area rhs)` Adds the shape of the specified `Area` to the shape of this `Area`.
    `boolean` | Area.`equals(Area other)` Tests whether the geometries of the two `Area` objects are equal.
    `void` | Area.`exclusiveOr(Area rhs)` Sets the shape of this `Area` to be the combined area of its current shape and the shape of the specified `Area`, minus their intersection.
    `void` | Area.`intersect(Area rhs)` Sets the shape of this `Area` to the intersection of its current shape and the shape of the specified `Area`.
    `void` | Area.`subtract(Area rhs)` Subtracts the shape of the specified `Area` from the shape of this `Area`.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.