Class EditedEdgeStyleOGL2D

  • All Implemented Interfaces:
    EdgeStyleOGL2D

    public class EditedEdgeStyleOGL2D
    extends Object
    implements EdgeStyleOGL2D
    Edge style from xml serialized style info.
    Author:
    Nick Collier
    • Constructor Detail

      • EditedEdgeStyleOGL2D

        public EditedEdgeStyleOGL2D​(String fileName)
    • Method Detail

      • getLineWidth

        public int getLineWidth​(RepastEdge<?> edge)
        Description copied from interface: EdgeStyleOGL2D
        Gets the width of the line used to represent the edge.
        Specified by:
        getLineWidth in interface EdgeStyleOGL2D
        Returns:
        the width of the line used to represent the edge.
      • getColor

        public Color getColor​(RepastEdge<?> edge)
        Description copied from interface: EdgeStyleOGL2D
        Gets the color of the line used to represent the edge.
        Specified by:
        getColor in interface EdgeStyleOGL2D
        Returns:
        the color of the line used to represent the edge.