With the activated freehand (lines) select option, pixels are selected within a closed customized shape. Click and move the mouse to draw the selection lines. Click and move again for further lines. When you click on a previously drawn selection line, the selection figure border will be closed and any pixel within will be selected.
The selection options are: