final RoadMappingPolyLine polyLine = (RoadMappingPolyLine) roadMapping;
final Iterator<RoadMappingLine> iterator = polyLine.iterator();
if (!iterator.hasNext())
return;
final GeneralPath path = new GeneralPath();
RoadMappingLine line1 = iterator.next();
posTheta = line1.startPos(lateralOffset);
path.moveTo(posTheta.x, posTheta.y);
posTheta = line1.endPos(lateralOffset);
path.lineTo(posTheta.x, posTheta.y);
while (iterator.hasNext()) {
line1 = iterator.next();
posTheta = line1.endPos(lateralOffset);
path.lineTo(posTheta.x, posTheta.y);
}
g.draw(path);
return;
}