public class ShapeExtender extends Object implements ExtendedShape
| Modifier and Type | Class and Description |
|---|---|
static class |
ShapeExtender.EPIWrap |
| Constructor and Description |
|---|
ShapeExtender(Shape shape) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(double x,
double y) |
boolean |
contains(double x,
double y,
double w,
double h) |
boolean |
contains(Point2D p) |
boolean |
contains(Rectangle2D r) |
Rectangle |
getBounds() |
Rectangle2D |
getBounds2D() |
ExtendedPathIterator |
getExtendedPathIterator()
Get an extended Path iterator that may return SEG_ARCTO commands
|
PathIterator |
getPathIterator(AffineTransform at) |
PathIterator |
getPathIterator(AffineTransform at,
double flatness) |
boolean |
intersects(double x,
double y,
double w,
double h) |
boolean |
intersects(Rectangle2D r) |
public ShapeExtender(Shape shape)
public boolean contains(double x,
double y,
double w,
double h)
public boolean contains(Rectangle2D r)
public Rectangle2D getBounds2D()
getBounds2D in interface Shapepublic PathIterator getPathIterator(AffineTransform at)
getPathIterator in interface Shapepublic PathIterator getPathIterator(AffineTransform at, double flatness)
getPathIterator in interface Shapepublic ExtendedPathIterator getExtendedPathIterator()
ExtendedShapegetExtendedPathIterator in interface ExtendedShapepublic boolean intersects(double x,
double y,
double w,
double h)
intersects in interface Shapepublic boolean intersects(Rectangle2D r)
intersects in interface ShapeCopyright © 2000–2024 Apache Software Foundation. All rights reserved.