edu.uci.ics.jung.visualization.decorators
Class GradientEdgePaintTransformer<V,E>
- java.lang.Object
-
- edu.uci.ics.jung.visualization.decorators.GradientEdgePaintTransformer<V,E>
-
- All Implemented Interfaces:
- com.google.common.base.Function<E,java.awt.Paint>
- Direct Known Subclasses:
- PluggableRendererDemo.GradientPickedEdgePaintFunction
public class GradientEdgePaintTransformer<V,E> extends java.lang.Object implements com.google.common.base.Function<E,java.awt.Paint>CreatesGradientPaintinstances which can be used to paint anEdge. ForDirectedEdges, the color will blend fromc1(source) toc2(destination); forUndirectedEdges, the color will bec1at each end andc2in the middle.
-
-
Constructor Summary
Constructors Constructor and Description GradientEdgePaintTransformer(java.awt.Color c1, java.awt.Color c2, VisualizationViewer<V,E> vv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.awt.Paintapply(E e)
-
-
-
Constructor Detail
-
GradientEdgePaintTransformer
public GradientEdgePaintTransformer(java.awt.Color c1, java.awt.Color c2, VisualizationViewer<V,E> vv)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG