public class PerEdgeFeatureColorGenerator extends Object implements TrackColorGenerator
Constructor and Description |
---|
PerEdgeFeatureColorGenerator(Model model,
String edgeFeature,
Color missingValueColor,
Color undefinedValueColor,
Colormap colormap,
double min,
double max) |
Modifier and Type | Method and Description |
---|---|
Color |
color(org.jgrapht.graph.DefaultWeightedEdge edge)
Returns a color for the given object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public Color color(org.jgrapht.graph.DefaultWeightedEdge edge)
FeatureColorGenerator
color
in interface FeatureColorGenerator<org.jgrapht.graph.DefaultWeightedEdge>
edge
- the object to color.Copyright © 2015–2021 Fiji. All rights reserved.