Updated to worldwind release 20070817
[worldwind-tracker.git] / gov / nasa / worldwind / render / SurfacePolyline.java
blobcc8e870c93669347a9fd0592c972f3ce2ce27d1d
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.render;
9 import gov.nasa.worldwind.geom.LatLon;
11 import java.awt.*;
13 /**
14 * @author tag
15 * @version $Id: SurfacePolyline.java 2422 2007-07-25 23:07:49Z tgaskins $
17 public class SurfacePolyline extends SurfacePolygon
19 public SurfacePolyline(Iterable<LatLon> positions, Color color, Color borderColor)
21 super(positions, color, borderColor);
22 this.setDrawInterior(false);
23 this.setStroke(new BasicStroke(3f));
26 public SurfacePolyline(Iterable<LatLon> positions)
28 super(positions);
29 this.setDrawInterior(false);
30 this.setPaint(new Color(1f, 1f, 0f, .8f));
31 this.setStroke(new BasicStroke(3f));