BEGraphes/be-graphes-gui/src/main/java/org/insa/graphs/gui/drawing/GraphPalette.java
2023-03-22 08:02:30 +01:00

23 行
486 B
Java

package org.insa.graphs.gui.drawing;
import java.awt.Color;
import org.insa.graphs.model.Arc;
public interface GraphPalette {
/**
* @param arc Arc for which color should be retrieved.
*
* @return Color associated with the given arc.
*/
public Color getColorForArc(Arc arc);
/**
* @param arc Arc for which width should be retrieved.
*
* @return Width associated with the given arc.
*/
public int getWidthForArc(Arc arc);
}