code: def set_line_style(self, width = None, dash = None, dash_offset = 0):
          
          if width is not None:
              self._add_instruction("set_line_width", width)
  
          if dash is not None:
              self._add_instruction("set_dash", dash, dash_offset)
docs: change width and dash of a line