MCPcopy Index your code
hub / github.com/csev/py4e / setSize

Method setSize

code/graphics/graphics.py:744–749  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

742 raise GraphicsError, BAD_OPTION
743
744 def setSize(self, size):
745 if 5 <= size <= 36:
746 f,s,b = self.config['font']
747 self._reconfig("font", (f,size,b))
748 else:
749 raise GraphicsError, BAD_OPTION
750
751 def setStyle(self, style):
752 if style in ['bold','normal','italic', 'bold italic']:

Callers 2

testFunction · 0.95
onResizeFunction · 0.45

Calls 1

_reconfigMethod · 0.80

Tested by

no test coverage detected