public class LabelPositioning extends Object
Constructor and Description |
---|
LabelPositioning() |
Modifier and Type | Method and Description |
---|---|
static void |
center(ClusterNode cluster,
edu.umd.cs.piccolo.PNode label)
Place the label in the center of the surrounding rectangle of the cluster.
|
static void |
centroid(ClusterNode cluster,
edu.umd.cs.piccolo.PNode label)
Place the label in the centroid of the cluster.
|
public static void center(ClusterNode cluster, edu.umd.cs.piccolo.PNode label)
public static void centroid(ClusterNode cluster, edu.umd.cs.piccolo.PNode label)