public class CircularLayoutInfo
extends java.lang.Object
Constructor and Description |
---|
CircularLayoutInfo()
Initializes a new instance of the CircularLayoutInfo class.
|
Modifier and Type | Method and Description |
---|---|
Dimension |
getMargins()
Gets the distance between the top-left corner
of the smallest rectangle containing the arranged tree
and the top-left point of the document bounds.
|
float |
getRadius()
Gets the radius of the layout circle.
|
int |
getSiftingRounds()
Gets the number of sifts to perform during the layout.
|
void |
setMargins(Dimension margins)
Sets the distance between the top-left corner
of the smallest rectangle containing the arranged tree
and the top-left point of the document bounds.
|
void |
setRadius(float value)
Sets the radius of the layout circle.
|
void |
setSiftingRounds(int value)
Sets the number of sifts to perform during the layout.
|
public CircularLayoutInfo()
public void setMargins(Dimension margins)
public Dimension getMargins()
public void setRadius(float value)
value
- A float value specifying the radius; the default is 60.public float getRadius()
public void setSiftingRounds(int value)
value
- An integer value specifying the number of sifting rounds; the default is 1.public int getSiftingRounds()