Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
rect
Method · 0.95
build
Method · 0.45
translate
Method · 0.45
_set_scale
Method · 0.45
Calls
2
units
Function · 0.90
point2D
Function · 0.90
Tested by
no test coverage detected