| | |
| | | |
| | | paint.setStyle(Paint.Style.STROKE); |
| | | paint.setColor(Color.BLACK); |
| | | paint.setStrokeWidth(1.5f); |
| | | |
| | | Path path = new Path(); |
| | | // 画车体 |
| | |
| | | |
| | | if (leftEdge != null) { |
| | | Log.d(TAG, "绘制左路沿"); |
| | | |
| | | paint.setStrokeWidth(2.0f); |
| | | paint.setColor(Color.BLUE); |
| | | |
| | | for (int y = 0; y < leftEdge.size(); y++) { |
| | | RoadExamMap2.RoadBean.EdgeBean edgeBean = leftEdge.get(y); |
| | | |
| | |
| | | |
| | | if (rightEdge != null) { |
| | | Log.d(TAG, "绘制右路沿"); |
| | | |
| | | paint.setStrokeWidth(2.0f); |
| | | paint.setColor(Color.YELLOW); |
| | | |
| | | for (int y = 0; y < rightEdge.size(); y++) { |
| | | RoadExamMap2.RoadBean.EdgeBean edgeBean = rightEdge.get(y); |
| | | |
| | |
| | | } |
| | | |
| | | List<List<List<RoadExamMap2.RoadBean.SeparateBean>>> separate = road.getSeparate(); |
| | | paint.setStrokeWidth(1.0f); |
| | | paint.setColor(Color.BLACK); |
| | | |
| | | if (separate != null) { |
| | | Log.d(TAG, "绘制道路分割线 段数量 = " + separate.size()); |