Methods Methods specific to Line. ChangeDirection and Offset are described on the class page. Method Description Close Closes the line by appending a copy of the first vertex.