Package de.intarsys.cwt.common
Class ShapeWrapper
java.lang.Object
de.intarsys.cwt.common.ShapeWrapper
- All Implemented Interfaces:
IGraphicsObject
,IShape
,de.intarsys.tools.geometry.IShapeWrapper
,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
getData()
getPathIterator
(AffineTransform at, double flatness) getShape()
boolean
intersects
(double x, double y, double w, double h) boolean
void
-
Constructor Details
-
ShapeWrapper
-
-
Method Details
-
contains
public boolean contains(double x, double y) -
contains
public boolean contains(double x, double y, double w, double h) -
contains
-
contains
-
getBaseShape
- Specified by:
getBaseShape
in interfacede.intarsys.tools.geometry.IShapeWrapper
-
getBounds
-
getBounds2D
- Specified by:
getBounds2D
in interfaceShape
-
getData
- Specified by:
getData
in interfaceIGraphicsObject
-
getPathIterator
- Specified by:
getPathIterator
in interfaceShape
-
getPathIterator
- Specified by:
getPathIterator
in interfaceShape
-
getShape
-
intersects
public boolean intersects(double x, double y, double w, double h) - Specified by:
intersects
in interfaceShape
-
intersects
- Specified by:
intersects
in interfaceShape
-
setData
- Specified by:
setData
in interfaceIGraphicsObject
-