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

Method _set_xAlign

Lib/pagebot/contexts/basecontext/babelstring.py:1059–1062  ·  view source on GitHub ↗
(self, xAlign)

Source from the content-addressed store, hash-verified

1057 return style.get('xTextAlign') or style.get('xAlign', LEFT)
1058
1059 def _set_xAlign(self, xAlign):
1060 style = self.style
1061 style['xTextAlign'] = style['xAlign'] = xAlign
1062 self.reset() # Make sure context cache recalculates.
1063
1064 xAlign = property(_get_xAlign, _set_xAlign)
1065

Callers

nothing calls this directly

Calls 1

resetMethod · 0.95

Tested by

no test coverage detected