
ca.uvic.cs.chisel.cajun.graph.arc.GraphArcStyle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ca.uvic.cs.chisel.cajun Show documentation
Show all versions of ca.uvic.cs.chisel.cajun Show documentation
Visualization library used by the OntoGraf plug-in for the Protege ontology editing environment.
The newest version!
package ca.uvic.cs.chisel.cajun.graph.arc;
import java.awt.Paint;
import java.awt.Stroke;
import ca.uvic.cs.chisel.cajun.graph.GraphItemStyle;
/**
* Defines the colors and strokes for graph arcs.
*
* @author Chris
* @since 8-Nov-07
*/
public interface GraphArcStyle extends GraphItemStyle {
/**
* Returns the stroke for the arc.
* @return the {@link Stroke}, can be null in which case the arc won't be drawn
*/
public Stroke getStroke(GraphArc arc);
/**
* Returns the color/paint for the arc.
* @return the {@link Paint}, can be null in which case the arc won't be drawn
*/
public Paint getPaint(GraphArc arc);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy