def strokewidth(self, width=None): if width is not None: return CanvasContext.strokewidth(self, width) return CanvasContext.strokewidth(self)