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.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(double x, double y) boolean
contains
(double x, double y, double w, double h) boolean
boolean
Get an extended Path iterator that may return SEG_ARCTO commandsgetPathIterator
(AffineTransform at, double flatness) boolean
intersects
(double x, double y, double w, double h) boolean
-
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:
getBounds2D
in interfaceShape
-
getPathIterator
- Specified by:
getPathIterator
in interfaceShape
-
getPathIterator
- Specified by:
getPathIterator
in interfaceShape
-
getExtendedPathIterator
Description copied from interface:ExtendedShape
Get an extended Path iterator that may return SEG_ARCTO commands- Specified by:
getExtendedPathIterator
in interfaceExtendedShape
-
intersects
public boolean intersects(double x, double y, double w, double h) - Specified by:
intersects
in interfaceShape
-
intersects
- Specified by:
intersects
in interfaceShape
-