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

Method setSize

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

Source from the content-addressed store, hash-verified

836 raise GraphicsError, BAD_OPTION
837
838 def setSize(self, size):
839 if 5 <= size <= 36:
840 self._setFontComponent(1,size)
841 else:
842 raise GraphicsError, BAD_OPTION
843
844 def setStyle(self, style):
845 if style in ['bold','normal','italic', 'bold italic']:

Callers

nothing calls this directly

Calls 1

_setFontComponentMethod · 0.95

Tested by

no test coverage detected