net.infonode.gui

Class TranslatingShape

public class TranslatingShape extends Object implements Shape

Version: $Revision: 1.4 $

Author: $Author: jesper $

Constructor Summary
TranslatingShape(Shape shape, double dx, double dy)
Method Summary
booleancontains(double x, double y)
booleancontains(Point2D p)
booleancontains(double x, double y, double w, double h)
booleancontains(Rectangle2D r)
RectanglegetBounds()
Rectangle2DgetBounds2D()
PathIteratorgetPathIterator(AffineTransform at)
PathIteratorgetPathIterator(AffineTransform at, double flatness)
booleanintersects(double x, double y, double w, double h)
booleanintersects(Rectangle2D r)

Constructor Detail

TranslatingShape

public TranslatingShape(Shape shape, double dx, double dy)

Method Detail

contains

public boolean contains(double x, double y)

contains

public boolean contains(Point2D p)

contains

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

contains

public boolean contains(Rectangle2D r)

getBounds

public Rectangle getBounds()

getBounds2D

public Rectangle2D getBounds2D()

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)