Interface EdgeStyleOGL2D
-
- All Known Implementing Classes:
DefaultEdgeStyleOGL2D
,EditedEdgeStyleOGL2D
public interface EdgeStyleOGL2D
Inteface for 2D OGL edge styles.- Author:
- Nick Collier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Color
getColor(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.
-
-
-
Method Detail
-
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.
-
-