An API for polygonizing sets of lines.