| Package | Description |
|---|---|
| noawt.java.awt | |
| noawt.java.awt.geom |
Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.
|
| noawt.sun.awt.geom |
| Modifier and Type | Method and Description |
|---|---|
PathIterator |
Shape.getPathIterator(AffineTransform
Returns an iterator object that iterates along the
Shape boundary and provides access to the geometry of the
Shape outline.
|
PathIterator |
Shape.getPathIterator(AffineTransform
Returns an iterator object that iterates along the
Shape boundary and provides access to a flattened view of the
Shape outline geometry.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FlatteningPathIterator
The
FlatteningPathIterator class returns a flattened view of another
PathIterator object.
|
| Modifier and Type | Method and Description |
|---|---|
PathIterator |
Area.getPathIterator(AffineTransform
Creates a
PathIterator for the outline of this
Area object.
|
PathIterator |
Rectangle2D.getPathIterator(AffineTransform
Returns an iteration object that defines the boundary of this
Rectangle2D.
|
PathIterator |
QuadCurve2D.getPathIterator(AffineTransform
Returns an iteration object that defines the boundary of the shape of this
QuadCurve2D.
|
PathIterator |
RoundRectangle2D.getPathIterator(AffineTransform
Returns an iteration object that defines the boundary of this
RoundRectangle2D.
|
PathIterator |
CubicCurve2D.getPathIterator(AffineTransform
Returns an iteration object that defines the boundary of the shape.
|
PathIterator |
Ellipse2D.getPathIterator(AffineTransform
Returns an iteration object that defines the boundary of this
Ellipse2D.
|
PathIterator |
Line2D.getPathIterator(AffineTransform
Returns an iteration object that defines the boundary of this
Line2D.
|
PathIterator |
Arc2D.getPathIterator(AffineTransform
Returns an iteration object that defines the boundary of the arc.
|
PathIterator |
Path2D.Float.getPathIterator(AffineTransform
Returns an iterator object that iterates along the
Shape boundary and provides access to the geometry of the
Shape outline.
|
PathIterator |
Path2D.Double.getPathIterator(AffineTransform
Returns an iterator object that iterates along the
Shape boundary and provides access to the geometry of the
Shape outline.
|
PathIterator |
Area.getPathIterator(AffineTransform
Creates a
PathIterator for the flattened outline of this
Area object.
|
PathIterator |
RectangularShape.getPathIterator(AffineTransform
Returns an iterator object that iterates along the
Shape object's boundary and provides access to a flattened view of the outline of the
Shape object's geometry.
|
PathIterator |
Rectangle2D.getPathIterator(AffineTransform
Returns an iteration object that defines the boundary of the flattened
Rectangle2D.
|
PathIterator |
QuadCurve2D.getPathIterator(AffineTransform
Returns an iteration object that defines the boundary of the flattened shape of this
QuadCurve2D.
|
PathIterator |
CubicCurve2D.getPathIterator(AffineTransform
Return an iteration object that defines the boundary of the flattened shape.
|
PathIterator |
Line2D.getPathIterator(AffineTransform
Returns an iteration object that defines the boundary of this flattened
Line2D.
|
PathIterator |
Path2D.getPathIterator(AffineTransform
Returns an iterator object that iterates along the
Shape boundary and provides access to a flattened view of the
Shape outline geometry.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Path2D.append(PathIterator
Appends the geometry of the specified
PathIterator object to the path, possibly connecting the new geometry to the existing path segments with a line segment.
|
void |
Path2D.Float.append(PathIterator
Appends the geometry of the specified
PathIterator object to the path, possibly connecting the new geometry to the existing path segments with a line segment.
|
void |
Path2D.Double.append(PathIterator
Appends the geometry of the specified
PathIterator object to the path, possibly connecting the new geometry to the existing path segments with a line segment.
|
static boolean |
Path2D.contains(PathIterator
Tests if the specified coordinates are inside the closed boundary of the specified
PathIterator.
|
static boolean |
Path2D.contains(PathIterator
Tests if the specified rectangular area is entirely inside the closed boundary of the specified
PathIterator.
|
static boolean |
Path2D.contains(PathIterator
Tests if the specified
Point2D is inside the closed boundary of the specified
PathIterator.
|
static boolean |
Path2D.contains(PathIterator
Tests if the specified
Rectangle2D is entirely inside the closed boundary of the specified
PathIterator.
|
static boolean |
Path2D.intersects(PathIterator
Tests if the interior of the specified
PathIterator intersects the interior of a specified set of rectangular coordinates.
|
static boolean |
Path2D.intersects(PathIterator
Tests if the interior of the specified
PathIterator intersects the interior of a specified
Rectangle2D.
|
| Constructor and Description | |
|---|---|
FlatteningPathIterator(PathIterator
Constructs a new
FlatteningPathIterator object that flattens a path as it iterates over it.
|
|
FlatteningPathIterator(PathIterator
Constructs a new
FlatteningPathIterator object that flattens a path as it iterates over it.
|
| Modifier and Type | Method and Description |
|---|---|
static Crossings |
Crossings.findCrossings(PathIterator
|
static int |
Curve.pointCrossingsForPath(PathIterator
Calculates the number of times the given path crosses the ray extending to the right from (px,py).
|
static int |
Curve.rectCrossingsForPath(PathIterator
Accumulate the number of times the path crosses the shadow extending to the right of the rectangle.
|