Break line wrapper out into separate class
Fix some transform stuff
Add gradient support (both linear and radial). Closes #95.