The Area class creates an area geometry from the specified Shape object. The geometry is explicitly closed, if the Shape is not already closed. The geometry is transformed in place, which permanently changes the enclosed area defined by this object. Removes all the basic geometry from this area and restores it to an empty area. Tests whether or not the interior of the area completely contains the specified Rectangle2D .
Addition is achieved through union.
Sets the shape of this Area to the intersection of the current shape and the shape of the specified Area . Tests whether the two object's geometries are equal. Creates a PathIterator for the outline of this Area object. This Area object is unchanged. This Area object is unchanged.