MCPcopy Create free account
hub / github.com/PageBot/PageBot / _set_tracking

Method _set_tracking

Lib/pagebot/contexts/basecontext/babelstring.py:1033–1036  ·  view source on GitHub ↗
(self, tracking)

Source from the content-addressed store, hash-verified

1031 """
1032 return units(self.style.get('tracking', 0), base=self.fontSize)
1033 def _set_tracking(self, tracking):
1034 # Set the tracking in the current style
1035 self.style['tracking'] = units(tracking, base=self.fontSize)
1036 self.reset() # Make sure context cache recalculates.
1037 tracking = property(_get_tracking, _set_tracking)
1038
1039 def _get_xAlign(self):

Callers

nothing calls this directly

Calls 2

resetMethod · 0.95
unitsFunction · 0.90

Tested by

no test coverage detected