Worldwind public release 0.2
[worldwind-tracker.git] / gov / nasa / worldwind / geom / SurfacePolyline.java
blobcf91a17ea9152bb3df17ed09fe821e09d95bed4d
1 /*
2 Copyright (C) 2001, 2006 United States Government
3 as represented by the Administrator of the
4 National Aeronautics and Space Administration.
5 All Rights Reserved.
6 */
7 package gov.nasa.worldwind.geom;
9 import java.awt.*;
11 /**
12 * @author tag
13 * @version $Id: SurfacePolyline.java 1448 2007-04-12 00:20:38Z tgaskins $
15 public class SurfacePolyline extends SurfacePolygon
17 public SurfacePolyline(Iterable<LatLon> positions, Color color, Color borderColor)
19 super(positions, color, borderColor);
20 this.setDrawInterior(false);
21 this.setStroke(new BasicStroke(3f));
24 public SurfacePolyline(Iterable<LatLon> positions)
26 super(positions);
27 this.setDrawInterior(false);
28 this.setPaint(new Color(1f, 1f, 0f, .8f));
29 this.setStroke(new BasicStroke(3f));