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

Method append

Lib/pagebot/elements/polygon.py:38–41  ·  view source on GitHub ↗
(self, p)

Source from the content-addressed store, hash-verified

36 Element.__init__(self, **kwargs)
37
38 def append(self, p):
39 p = units(point2D(p))
40 assert p is not None
41 self.points.append(p)
42
43 def _get_w(self):
44 return self.box[2]

Callers 4

rectMethod · 0.95
buildMethod · 0.45
translateMethod · 0.45
_set_scaleMethod · 0.45

Calls 2

unitsFunction · 0.90
point2DFunction · 0.90

Tested by

no test coverage detected