Interface EdgeStyleOGL2D

All Known Implementing Classes:
DefaultEdgeStyleOGL2D, EditedEdgeStyleOGL2D

public interface EdgeStyleOGL2D
Inteface for 2D OGL edge styles.
Author:
Nick Collier
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the color of the line used to represent the edge.
    int
    Gets the width of the line used to represent the edge.
  • Method Details

    • getLineWidth

      int getLineWidth(RepastEdge<?> edge)
      Gets the width of the line used to represent the edge.
      Parameters:
      edge -
      Returns:
      the width of the line used to represent the edge.
    • getColor

      Color getColor(RepastEdge<?> edge)
      Gets the color of the line used to represent the edge.
      Parameters:
      edge -
      Returns:
      the color of the line used to represent the edge.