Uses of Interface
java.awt.geom.PathIterator
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides the Java 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
-
Uses of PathIterator in java.awt
Modifier and TypeMethodDescriptionPolygon.getPathIterator(AffineTransform at)
Returns an iterator object that iterates along the boundary of thisPolygon
and provides access to the geometry of the outline of thisPolygon
.Polygon.getPathIterator(AffineTransform at, double flatness)
Returns an iterator object that iterates along the boundary of theShape
and provides access to the geometry of the outline of theShape
.Shape.getPathIterator(AffineTransform at)
Returns an iterator object that iterates along theShape
boundary and provides access to the geometry of theShape
outline.Shape.getPathIterator(AffineTransform at, double flatness)
Returns an iterator object that iterates along theShape
boundary and provides access to a flattened view of theShape
outline geometry. -
Uses of PathIterator in java.awt.geom
Modifier and TypeClassDescriptionclass
TheFlatteningPathIterator
class returns a flattened view of anotherPathIterator
object.Modifier and TypeMethodDescriptionArc2D.getPathIterator(AffineTransform at)
Returns an iteration object that defines the boundary of the arc.Area.getPathIterator(AffineTransform at)
Creates aPathIterator
for the outline of thisArea
object.Area.getPathIterator(AffineTransform at, double flatness)
Creates aPathIterator
for the flattened outline of thisArea
object.CubicCurve2D.getPathIterator(AffineTransform at)
Returns an iteration object that defines the boundary of the shape.CubicCurve2D.getPathIterator(AffineTransform at, double flatness)
Return an iteration object that defines the boundary of the flattened shape.Ellipse2D.getPathIterator(AffineTransform at)
Returns an iteration object that defines the boundary of thisEllipse2D
.Line2D.getPathIterator(AffineTransform at)
Returns an iteration object that defines the boundary of thisLine2D
.Line2D.getPathIterator(AffineTransform at, double flatness)
Returns an iteration object that defines the boundary of this flattenedLine2D
.Path2D.Double.getPathIterator(AffineTransform at)
Returns an iterator object that iterates along theShape
boundary and provides access to the geometry of theShape
outline.Path2D.Float.getPathIterator(AffineTransform at)
Returns an iterator object that iterates along theShape
boundary and provides access to the geometry of theShape
outline.Path2D.getPathIterator(AffineTransform at, double flatness)
Returns an iterator object that iterates along theShape
boundary and provides access to a flattened view of theShape
outline geometry.QuadCurve2D.getPathIterator(AffineTransform at)
Returns an iteration object that defines the boundary of the shape of thisQuadCurve2D
.QuadCurve2D.getPathIterator(AffineTransform at, double flatness)
Returns an iteration object that defines the boundary of the flattened shape of thisQuadCurve2D
.Rectangle2D.getPathIterator(AffineTransform at)
Returns an iteration object that defines the boundary of thisRectangle2D
.Rectangle2D.getPathIterator(AffineTransform at, double flatness)
Returns an iteration object that defines the boundary of the flattenedRectangle2D
.RectangularShape.getPathIterator(AffineTransform at, double flatness)
Returns an iterator object that iterates along theShape
object's boundary and provides access to a flattened view of the outline of theShape
object's geometry.RoundRectangle2D.getPathIterator(AffineTransform at)
Returns an iteration object that defines the boundary of thisRoundRectangle2D
.Modifier and TypeMethodDescriptionabstract void
Path2D.append(PathIterator pi, boolean connect)
Appends the geometry of the specifiedPathIterator
object to the path, possibly connecting the new geometry to the existing path segments with a line segment.void
Path2D.Double.append(PathIterator pi, boolean connect)
Appends the geometry of the specifiedPathIterator
object to the path, possibly connecting the new geometry to the existing path segments with a line segment.void
Path2D.Float.append(PathIterator pi, boolean connect)
Appends the geometry of the specifiedPathIterator
object to the path, possibly connecting the new geometry to the existing path segments with a line segment.static boolean
Path2D.contains(PathIterator pi, double x, double y)
Tests if the specified coordinates are inside the closed boundary of the specifiedPathIterator
.static boolean
Path2D.contains(PathIterator pi, double x, double y, double w, double h)
Tests if the specified rectangular area is entirely inside the closed boundary of the specifiedPathIterator
.static boolean
Path2D.contains(PathIterator pi, Point2D p)
Tests if the specifiedPoint2D
is inside the closed boundary of the specifiedPathIterator
.static boolean
Path2D.contains(PathIterator pi, Rectangle2D r)
Tests if the specifiedRectangle2D
is entirely inside the closed boundary of the specifiedPathIterator
.static boolean
Path2D.intersects(PathIterator pi, double x, double y, double w, double h)
Tests if the interior of the specifiedPathIterator
intersects the interior of a specified set of rectangular coordinates.static boolean
Path2D.intersects(PathIterator pi, Rectangle2D r)
Tests if the interior of the specifiedPathIterator
intersects the interior of a specifiedRectangle2D
.ModifierConstructorDescriptionFlatteningPathIterator(PathIterator src, double flatness)
Constructs a newFlatteningPathIterator
object that flattens a path as it iterates over it.FlatteningPathIterator(PathIterator src, double flatness, int limit)
Constructs a newFlatteningPathIterator
object that flattens a path as it iterates over it.