documentation and example for Line.