Uses of Class
java.awt.geom.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 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 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
.