Package net.infonode.gui
Class TranslatingShape
java.lang.Object
net.infonode.gui.TranslatingShape
- All Implemented Interfaces:
Shape
-
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
getPathIterator
(AffineTransform at, double flatness) boolean
intersects
(double x, double y, double w, double h) boolean
-
Constructor Details
-
TranslatingShape
-
-
Method Details
-
getBounds
-
getBounds2D
- Specified by:
getBounds2D
in interfaceShape
-
contains
public boolean contains(double x, double y) -
contains
-
intersects
public boolean intersects(double x, double y, double w, double h) - Specified by:
intersects
in interfaceShape
-
intersects
- Specified by:
intersects
in interfaceShape
-
contains
public boolean contains(double x, double y, double w, double h) -
contains
-
getPathIterator
- Specified by:
getPathIterator
in interfaceShape
-
getPathIterator
- Specified by:
getPathIterator
in interfaceShape
-