Package org.gephi.preview.types
Class EdgeColor
- java.lang.Object
-
- org.gephi.preview.types.EdgeColor
-
public class EdgeColor extends Object
An edge color type. The color of an edge can be:- SOURCE: The source node's color
- TARGET: The target node's color
- MIXED: An average of source and target color
- CUSTOM: A custom color
- ORIGINAL: The original edge color, if exists
- Author:
- Mathieu Bastian
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EdgeColor.Mode
-
Constructor Summary
Constructors Constructor Description EdgeColor(Color customColor)
EdgeColor(EdgeColor.Mode mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getColor(Color edgeColor, Color sourceColor, Color targetColor)
Color
getCustomColor()
EdgeColor.Mode
getMode()
-
-
-
Constructor Detail
-
EdgeColor
public EdgeColor(EdgeColor.Mode mode)
-
EdgeColor
public EdgeColor(Color customColor)
-
-