public class Squarified extends Object
Modifier and Type | Field and Description |
---|---|
protected static double |
bottomInset |
static Squarified |
INSTANCE
Instance.
|
protected static double |
leftInset |
protected static double |
rightInset |
protected static double |
topInset |
Constructor and Description |
---|
Squarified() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
beginBox(Rect box,
double minWidth,
double minHeight) |
void |
computeShapes(Rect bounds,
Tree node)
Lays out a tree.
|
Rect |
computeShapesResize(Rect bounds,
Tree node,
double minWidth,
double minHeight)
Lays out a tree.
|
String |
getName() |
protected boolean |
isVertical(double xmin,
double ymin,
double xmax,
double ymax,
Tree node) |
protected double |
squarify(ListIterator<Tree> it,
double length,
double scale) |
protected int |
visit(double xmin,
double ymin,
double xmax,
double ymax,
Tree node,
boolean throwIfMissingSpace,
double minWidth,
double minHeight) |
protected int |
visitStrips(double xmin,
double ymin,
double xmax,
double ymax,
Tree node,
boolean throwIfMissingSpace,
double minWidth,
double minHeight)
Computes the rectangles that fill the containing rectangle allocated to
the specified node.
|
public static final Squarified INSTANCE
protected static final double leftInset
protected static final double rightInset
protected static final double topInset
protected static final double bottomInset
public String getName()
public Rect computeShapesResize(Rect bounds, Tree node, double minWidth, double minHeight)
protected boolean beginBox(Rect box, double minWidth, double minHeight)
protected int visit(double xmin, double ymin, double xmax, double ymax, Tree node, boolean throwIfMissingSpace, double minWidth, double minHeight)
protected boolean isVertical(double xmin, double ymin, double xmax, double ymax, Tree node)
protected int visitStrips(double xmin, double ymin, double xmax, double ymax, Tree node, boolean throwIfMissingSpace, double minWidth, double minHeight)
protected double squarify(ListIterator<Tree> it, double length, double scale)
Copyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2015 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.