Add polygon capture and line capture. Fix #78, Fix #62