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

Method text

Lib/pagebot/conditions/align.py:981–982  ·  view source on GitHub ↗
(self, e)

Source from the content-addressed store, hash-verified

979 """Align bottom of e bounding box on parent bottom side, overshooting by
980 the vertical bleed value."""
981 def text(self, e):
982 return e.isBottomOnBleedBottom(self.tolerance)
983
984 def solve(self, e, score):
985 if not self.text(e): # Only try to solve if condition test fails.

Callers 15

solveMethod · 0.95
_drawNameLabelMethod · 0.45
drawNameInfoMethod · 0.45
drawElementOriginMethod · 0.45
drawBaselinesMethod · 0.45
drawInfoBoxMethod · 0.45
drawDimensionsMethod · 0.45
drawCubeMethod · 0.45
drawMethod · 0.45
drawAnimatedFrameMethod · 0.45

Calls 1

isBottomOnBleedBottomMethod · 0.80

Tested by

no test coverage detected