g.setColor(Color.RED);
if (color != null)
g.setColor(color);
Skier s = skiersMap.get(id);
// Skier s = skiersList.get(id);
currentDyspleyedTracks.add(s);
g.setStroke(new BasicStroke(2, BasicStroke.CAP_BUTT,
BasicStroke.JOIN_ROUND));
g.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
RenderingHints.VALUE_ANTIALIAS_ON);
for (int i = 0; i < s.getPixmapX().size() - 1; i++) {
Point2D p = p(s.getPixmapX().get(i), s.getPixmapY().get(i));
Point2D p2 = p(s.getPixmapX().get(i + 1), s.getPixmapY().get(i + 1));
Point2D pN = pN(s.getPixmapX().get(i), s.getPixmapY().get(i));
if (polygon.contains(new Point((int) pN.getX(), (int) pN.getY()))) {
g.drawLine((int) p.getX(), (int) p.getY(), (int) p2.getX(),
(int) p2.getY());
// try {