Package com.treemap.swing.crossplatform
Class ShapeShape
java.lang.Object
com.treemap.swing.crossplatform.ShapeShape
- All Implemented Interfaces:
Shape
-
Nested Class Summary
Nested Classes -
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
-
ShapeShape
public ShapeShape(com.macrofocus.geom.Shape shape)
-
-
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
-