public abstract class TransformedShape extends Object implements Shape, IShapeWrapper, Cloneable
baseShape -> transform -> shape
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
clone() |
boolean |
contains(double x,
double y) |
boolean |
contains(double x,
double y,
double w,
double h) |
boolean |
contains(Point2D p) |
boolean |
contains(Rectangle2D r) |
Shape |
getBaseShape() |
Rectangle |
getBounds() |
Rectangle2D |
getBounds2D() |
PathIterator |
getPathIterator(AffineTransform at) |
PathIterator |
getPathIterator(AffineTransform at,
double flatness) |
Shape |
getShape() |
abstract AffineTransform |
getTransform() |
boolean |
intersects(double x,
double y,
double w,
double h) |
boolean |
intersects(Rectangle2D r) |
void |
invalidate() |
public boolean contains(double x,
double y,
double w,
double h)
public boolean contains(Rectangle2D r)
public Shape getBaseShape()
getBaseShape in interface IShapeWrapperpublic Rectangle2D getBounds2D()
getBounds2D in interface Shapepublic PathIterator getPathIterator(AffineTransform at)
getPathIterator in interface Shapepublic PathIterator getPathIterator(AffineTransform at, double flatness)
getPathIterator in interface Shapepublic Shape getShape()
public abstract AffineTransform getTransform()
public boolean intersects(double x,
double y,
double w,
double h)
intersects in interface Shapepublic boolean intersects(Rectangle2D r)
intersects in interface Shapepublic void invalidate()
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.