- All Implemented Interfaces:
- org.apache.commons.collections4.Transformer<E,Paint>
- Direct Known Subclasses:
- PluggableRendererDemo.GradientPickedEdgePaintFunction
public class GradientEdgePaintTransformer<V,E>
extends Object
implements org.apache.commons.collections4.Transformer<E,Paint>
Creates GradientPaint
instances which can be used
to paint an Edge
. For DirectedEdge
s,
the color will blend from c1
(source) to
c2
(destination); for UndirectedEdge
s,
the color will be c1
at each end and c2
in the middle.
- Author:
- Joshua O'Madadhain