Class GradientVertexRenderer<V,E>
java.lang.Object
edu.uci.ics.jung.visualization.renderers.GradientVertexRenderer<V,E>
- Type Parameters:
V
- the vertex typeV
- the edge type
- All Implemented Interfaces:
Renderer.Vertex<V,
E>
A renderer that will fill vertex shapes with a GradientPaint
-
Nested Class Summary
Nested classes/interfaces inherited from interface edu.uci.ics.jung.visualization.renderers.Renderer.Vertex
Renderer.Vertex.NOOP
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGradientVertexRenderer
(Color colorOne, Color colorTwo, boolean cyclic) GradientVertexRenderer
(Color colorOne, Color colorTwo, Color pickedColorOne, Color pickedColorTwo, PickedState<V> pickedState, boolean cyclic) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
paintShapeForVertex
(RenderContext<V, E> rc, V v, Shape shape) void
paintVertex
(RenderContext<V, E> rc, Layout<V, E> layout, V v) protected boolean
vertexHit
(RenderContext<V, E> rc, Shape s)
-
Field Details
-
Constructor Details
-
GradientVertexRenderer
-
GradientVertexRenderer
-
-
Method Details
-
paintVertex
- Specified by:
paintVertex
in interfaceRenderer.Vertex<V,
E>
-
vertexHit
-
paintShapeForVertex
-