Add line shape conversion and hide/show shape methods