add width and style curve option support