A pantograph for rail lines is a hinged electric-rod device that collects electric current from overhead lines for electric trains or trams. The pantograph typically connects to a one-wire line, with the track acting as the ground wire. The term stems from the resemblance to pantograph lever-rod devices for copying handwriting and drawings.