Removed unecessary switch case for bezier/line option.