MCPcopy Create free account
hub / github.com/csev/py4e / setFace

Method setFace

code/graphics/graphics.py:832–836  ·  view source on GitHub ↗
(self, face)

Source from the content-addressed store, hash-verified

830 _tkExec(self.entry.config, font=self.font)
831
832 def setFace(self, face):
833 if face in ['helvetica','arial','courier','times roman']:
834 self._setFontComponent(0, face)
835 else:
836 raise GraphicsError, BAD_OPTION
837
838 def setSize(self, size):
839 if 5 <= size <= 36:

Callers

nothing calls this directly

Calls 1

_setFontComponentMethod · 0.95

Tested by

no test coverage detected