Class VertexLabelAsShapeRenderer<V,E>

java.lang.Object
edu.uci.ics.jung.visualization.renderers.VertexLabelAsShapeRenderer<V,E>
Type Parameters:
V - the vertex type
V - the edge type
All Implemented Interfaces:
com.google.common.base.Function<V,Shape>, Renderer.VertexLabel<V,E>, Function<V,Shape>

public class VertexLabelAsShapeRenderer<V,E> extends Object implements Renderer.VertexLabel<V,E>, com.google.common.base.Function<V,Shape>
Renders Vertex Labels, but can also supply Shapes for vertices. This has the effect of making the vertex label the actual vertex shape. The user will probably want to center the vertex label on the vertex location.