public class SliceAndDiceLayout extends Object implements TreeMapLayout
Constructor and Description |
---|
SliceAndDiceLayout() |
Modifier and Type | Method and Description |
---|---|
Rectangle2D[] |
layout(Rectangle2D boundary,
double[] sizes,
int level)
Returns an array of bounding rectangles in the same order as the provides
areas array. |
public Rectangle2D[] layout(Rectangle2D boundary, double[] sizes, int level)
TreeMapLayout
areas
array. The level indicates the current level in the hierarchy
(see NestedTreeMap.getLevel(int)
). The boundary
rectangle
contains the area within which all children should be layed out.layout
in interface TreeMapLayout
Copyright © 2018 Metron, Inc.. All rights reserved.