protected void setupRoadInterior ( ZoomableGraphicsContext gc , RoadPolyline element ) { final Color color ; if ( isSelected ( element ) ) { color = gc . rgb ( SELECTED_ROAD_COLOR ) ; } else { color = gc . rgb ( ROAD_COLOR ) ; } gc . setStroke ( color ) ; if ( element . isWidePolyline ( ) ) { gc . setLineWidthInMeters ( element . getWidth ( ) ) ; } else { gc . setLineWidthInPixels ( 1 ) ; } }
Setup for drawing the road interior .