java.lang.Object
org.jhotdraw8.geom.AwtShapes
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends PathBuilder<?>>
TbuildPathIterator(T builder, PathIterator iter) static PathIteratorstatic booleanoutlineContains(Shape shape, Point2D.Double p, double tolerance) Returns true, if the outline of this shape contains the specified point.static PathIteratorpointCoordsToPathIterator(List<Double> coordsList, boolean closed, int windingRule, @Nullable AffineTransform tx)
-
Method Details
-
buildPathIterator
-
outlineContains
Returns true, if the outline of this shape contains the specified point.- Parameters:
shape- The shape.p- The point to be tested.tolerance- The tolerance for the test.- Returns:
- true if contained within tolerance
-
emptyPathIterator
-
pointCoordsToPathIterator
public static PathIterator pointCoordsToPathIterator(List<Double> coordsList, boolean closed, int windingRule, @Nullable AffineTransform tx)
-