Package | Description |
---|---|
java.awt.geom |
Provides the Java 2D classes for defining and performing operations
on objects related to two-dimensional geometry.
|
Modifier and Type | Method and Description |
---|---|
Area |
Area.createTransformedArea(AffineTransform t)
Creates a new
Area object that contains the same
geometry as this Area transformed by the specified
AffineTransform . |
Modifier and Type | Method and 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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.