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 and Description Area
Area. createTransformedArea(AffineTransform t)
Creates a newArea
object that contains the same geometry as thisArea
transformed by the specifiedAffineTransform
.Methods in java.awt.geom with parameters of type Area Modifier and Type Method and Description void
Area. add(Area rhs)
Adds the shape of the specifiedArea
to the shape of thisArea
.boolean
Area. equals(Area other)
Tests whether the geometries of the twoArea
objects are equal.void
Area. exclusiveOr(Area rhs)
Sets the shape of thisArea
to be the combined area of its current shape and the shape of the specifiedArea
, minus their intersection.void
Area. intersect(Area rhs)
Sets the shape of thisArea
to the intersection of its current shape and the shape of the specifiedArea
.void
Area. subtract(Area rhs)
Subtracts the shape of the specifiedArea
from the shape of thisArea
.
-
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.