public static List<ShapeRecord> implicitClosepath(double startX,double startY,double endX,double endY){
  List<ShapeRecord> shapeRecords=new ArrayList<ShapeRecord>();
  StyleChangeRecord scr=move(startX,startY);
  scr.setLinestyle(0);
  shapeRecords.add(scr);
  shapeRecords.addAll(straightEdge(startX,startY,endX,endY));
  return shapeRecords;
}

public static List < ShapeRecord > implicitClosepath ( double startX , double startY , double endX , double endY ) { List < ShapeRecord > shapeRecords = new ArrayList < ShapeRecord > ( ) ; StyleChangeRecord scr = move ( startX , startY ) ; scr . setLinestyle ( 0 ) ; shapeRecords . add ( scr ) ; shapeRecords . addAll ( straightEdge ( startX , startY , endX , endY ) ) ; return shapeRecords ; }
creates a list of shaperecord to draw a line that represents an implicit closepath origin ( startx , starty ) to the specified coordinates ( in pixels ) .
