(self, style)
| 749 | raise GraphicsError, BAD_OPTION |
| 750 | |
| 751 | def setStyle(self, style): |
| 752 | if style in ['bold','normal','italic', 'bold italic']: |
| 753 | f,s,b = self.config['font'] |
| 754 | self._reconfig("font", (f,s,style)) |
| 755 | else: |
| 756 | raise GraphicsError, BAD_OPTION |
| 757 | |
| 758 | def setTextColor(self, color): |
| 759 | self.setFill(color) |