(self, linewidth, store=True)
| 454 | self.color = (r, g, b) |
| 455 | |
| 456 | def set_linewidth(self, linewidth, store=True): |
| 457 | linewidth = float(linewidth) |
| 458 | if linewidth != self.linewidth: |
| 459 | self._pswriter.write(f"{_nums_to_str(linewidth)} setlinewidth\n") |
| 460 | if store: |
| 461 | self.linewidth = linewidth |
| 462 | |
| 463 | @staticmethod |
| 464 | def _linejoin_cmd(linejoin): |