code: public Line getLine(Shape shape, float sx, float sy, int e) {
  		float[] end = shape.getPoint(e);
  		
  		Line line = new Line(sx,sy,end[0],end[1]);
  		return line;
  	}
docs: Get a line between two points in a shape
  
  @param shape The shape
  @param sx The x coordinate of the start point
  @param sy The y coordinate of the start point
  @param e The index of the end point
  @return The line between the two points