MCPcopy Create free account
hub / github.com/JoshuaPostel/texaform / width

Method width

python/utils.py:70–71  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

68 return self.bot_right.y - self.top_left.y
69
70 def width(self) -> int:
71 return self.bot_right.x - self.top_left.x
72
73 def contains(self, point: Point) -> bool:
74 x_contained = self.top_left.x <= point.x and point.x <= self.bot_right.x

Callers 1

clear_areaFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected