Package com.macrofocus.treemap.tagcloud
Class SwingShape
- java.lang.Object
-
- com.macrofocus.treemap.tagcloud.SwingShape
-
- All Implemented Interfaces:
com.macrofocus.geom.Shape
public class SwingShape extends java.lang.Object implements com.macrofocus.geom.Shape
-
-
Constructor Summary
Constructors Constructor Description SwingShape(java.awt.Shape outline)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(com.macrofocus.geom.Point2D point)
com.macrofocus.geom.Rectangle2D
getBounds2D()
com.macrofocus.geom.PathIterator
getFlattenPathIterator(double flatness)
com.macrofocus.geom.PathIterator
getPathIterator()
com.macrofocus.geom.PathIterator
getPathIterator(com.macrofocus.geom.AffineTransform at)
boolean
intersects(com.macrofocus.geom.Rectangle2D rect)
-
-
-
Method Detail
-
getBounds2D
public com.macrofocus.geom.Rectangle2D getBounds2D()
- Specified by:
getBounds2D
in interfacecom.macrofocus.geom.Shape
-
contains
public boolean contains(com.macrofocus.geom.Point2D point)
- Specified by:
contains
in interfacecom.macrofocus.geom.Shape
-
intersects
public boolean intersects(com.macrofocus.geom.Rectangle2D rect)
- Specified by:
intersects
in interfacecom.macrofocus.geom.Shape
-
getPathIterator
public com.macrofocus.geom.PathIterator getPathIterator()
- Specified by:
getPathIterator
in interfacecom.macrofocus.geom.Shape
-
getPathIterator
public com.macrofocus.geom.PathIterator getPathIterator(com.macrofocus.geom.AffineTransform at)
- Specified by:
getPathIterator
in interfacecom.macrofocus.geom.Shape
-
getFlattenPathIterator
public com.macrofocus.geom.PathIterator getFlattenPathIterator(double flatness)
- Specified by:
getFlattenPathIterator
in interfacecom.macrofocus.geom.Shape
-
-