Package com.treemap.tagcloud
Class HierarchicalBoundingBox
java.lang.Object
com.treemap.tagcloud.HierarchicalBoundingBox
-
Constructor Summary
ConstructorsConstructorDescriptionHierarchicalBoundingBox
(com.macrofocus.geom.Rectangle2D bounds, com.macrofocus.geom.Shape shape, int nSubdivisions) -
Method Summary
Modifier and TypeMethodDescriptioncom.macrofocus.geom.Rectangle2D
boolean
isLeaf()
void
setTranslation
(double xPos, double yPos)
-
Constructor Details
-
HierarchicalBoundingBox
public HierarchicalBoundingBox(com.macrofocus.geom.Rectangle2D bounds, com.macrofocus.geom.Shape shape, int nSubdivisions)
-
-
Method Details
-
getBounds
public com.macrofocus.geom.Rectangle2D getBounds() -
getChildren
-
isLeaf
public boolean isLeaf() -
setTranslation
public void setTranslation(double xPos, double yPos)
-