org.apache.batik.ext.awt.geom

Class ShapeExtender

public class ShapeExtender extends Object implements ExtendedShape

This class wraps a normal path into an extended path.
Nested Class Summary
static classShapeExtender.EPIWrap
Constructor Summary
ShapeExtender(Shape shape)
Method Summary
booleancontains(double x, double y)
booleancontains(double x, double y, double w, double h)
booleancontains(Point2D p)
booleancontains(Rectangle2D r)
RectanglegetBounds()
Rectangle2DgetBounds2D()
ExtendedPathIteratorgetExtendedPathIterator()
PathIteratorgetPathIterator(AffineTransform at)
PathIteratorgetPathIterator(AffineTransform at, double flatness)
booleanintersects(double x, double y, double w, double h)
booleanintersects(Rectangle2D r)

Constructor Detail

ShapeExtender

public ShapeExtender(Shape shape)

Method Detail

contains

public boolean contains(double x, double y)

contains

public boolean contains(double x, double y, double w, double h)

contains

public boolean contains(Point2D p)

contains

public boolean contains(Rectangle2D r)

getBounds

public Rectangle getBounds()

getBounds2D

public Rectangle2D getBounds2D()

getExtendedPathIterator

public ExtendedPathIterator getExtendedPathIterator()

getPathIterator

public PathIterator getPathIterator(AffineTransform at)

getPathIterator

public PathIterator getPathIterator(AffineTransform at, double flatness)

intersects

public boolean intersects(double x, double y, double w, double h)

intersects

public boolean intersects(Rectangle2D r)
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.