spline2.setLinePaint(Color.green);
omList.add(spline2);
float[] llPoints = { 55.0f, -10.0f, 50.0f, -5.0f, 45.0f, -7.0f, 43.0f,
-12.0f, 55.0f, -10.0f };
OMDecoratedSpline omds = new OMDecoratedSpline(llPoints, OMSpline.DECIMAL_DEGREES, OMSpline.LINETYPE_STRAIGHT);
ShapeDecorator sd = new ShapeDecorator();
sd.addDecoration(new LineShapeDecoration(5, com.bbn.openmap.omGraphics.OMColor.clear));
sd.addDecoration(new IceAreaShapeDecoration(7, 7, IceAreaShapeDecoration.RIGHT));
omds.setDecorator(sd);
omList.add(omds);
llPoints = new float[] { 56.0f, -11.0f, 51.0f, -6.0f, 46.0f, -8.0f,
44.0f, -13.0f, 56.0f, -11.0f };
omds = new OMDecoratedSpline(llPoints, OMSpline.DECIMAL_DEGREES, OMSpline.LINETYPE_STRAIGHT);
sd = new ShapeDecorator();
sd.addDecoration(new LineShapeDecoration(3, com.bbn.openmap.omGraphics.OMColor.clear));
sd.addDecoration(new CircleShapeDecoration(5, 5, Color.blue));
omds.setDecorator(sd);
omList.add(omds);
llPoints = new float[] { 57.0f, -12.0f, 52.0f, -7.0f, 47.0f, -9.0f,
45.0f, -14.0f, 57.0f, -12.0f };
omds = new OMDecoratedSpline(llPoints, OMSpline.DECIMAL_DEGREES, OMSpline.LINETYPE_STRAIGHT);
sd = new ShapeDecorator();
sd.addDecoration(new LineShapeDecoration(2, com.bbn.openmap.omGraphics.OMColor.clear));
sd.addDecoration(new CircleShapeDecoration(5, 5, Color.red));
sd.addDecoration(new LineShapeDecoration(2, com.bbn.openmap.omGraphics.OMColor.clear));
sd.addDecoration(new LineShapeDecoration(15, Color.red));
omds.setDecorator(sd);
omList.add(omds);
float[] llPoints2 = { 55.0f, -12.0f, 50.0f, -7.0f, 45.0f, -9.0f, 43.0f,
-14.0f };
OMHotSurfaceFront hf = new OMHotSurfaceFront(llPoints2, OMSpline.DECIMAL_DEGREES, OMSpline.LINETYPE_STRAIGHT);