Class DefaultEdgeStyleOGL2D
java.lang.Object
repast.simphony.visualizationOGL2D.DefaultEdgeStyleOGL2D
- All Implemented Interfaces:
EdgeStyleOGL2D
Default implementation of OGL 2D edge style.
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetColor
(RepastEdge<?> edge) Gets the color of the line used to represent the edge.int
getLineWidth
(RepastEdge<?> edge) Gets the width of the line used to represent the edge.
-
Constructor Details
-
DefaultEdgeStyleOGL2D
public DefaultEdgeStyleOGL2D()
-
-
Method Details
-
getColor
Description copied from interface:EdgeStyleOGL2D
Gets the color of the line used to represent the edge.- Specified by:
getColor
in interfaceEdgeStyleOGL2D
- Returns:
- the color of the line used to represent the edge.
-
getLineWidth
Description copied from interface:EdgeStyleOGL2D
Gets the width of the line used to represent the edge.- Specified by:
getLineWidth
in interfaceEdgeStyleOGL2D
- Returns:
- the width of the line used to represent the edge.
-