Package org.apache.batik.ext.awt.geom
Class ShapeExtender
java.lang.Object
org.apache.batik.ext.awt.geom.ShapeExtender
- All Implemented Interfaces:
Shape,ExtendedShape
This class wraps a normal path into an extended path.
- Version:
- $Id: ShapeExtender.java 1808001 2017-09-11 09:51:29Z ssteiner $
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(double x, double y) booleancontains(double x, double y, double w, double h) booleanbooleanGet an extended Path iterator that may return SEG_ARCTO commandsgetPathIterator(AffineTransform at, double flatness) booleanintersects(double x, double y, double w, double h) boolean
-
Field Details
-
shape
Shape shape
-
-
Constructor Details
-
ShapeExtender
-
-
Method Details
-
contains
public boolean contains(double x, double y) -
contains
public boolean contains(double x, double y, double w, double h) -
contains
-
contains
-
getBounds
-
getBounds2D
- Specified by:
getBounds2Din interfaceShape
-
getPathIterator
- Specified by:
getPathIteratorin interfaceShape
-
getPathIterator
- Specified by:
getPathIteratorin interfaceShape
-
getExtendedPathIterator
Description copied from interface:ExtendedShapeGet an extended Path iterator that may return SEG_ARCTO commands- Specified by:
getExtendedPathIteratorin interfaceExtendedShape
-
intersects
public boolean intersects(double x, double y, double w, double h) - Specified by:
intersectsin interfaceShape
-
intersects
- Specified by:
intersectsin interfaceShape
-