2 Copyright (C) 2001, 2006 United States Government
3 as represented by the Administrator of the
4 National Aeronautics and Space Administration.
7 package gov
.nasa
.worldwind
.render
;
9 import gov
.nasa
.worldwind
.geom
.LatLon
;
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
)
29 this.setDrawInterior(false);
30 this.setPaint(new Color(1f
, 1f
, 0f
, .8f
));
31 this.setStroke(new BasicStroke(3f
));