MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _createpoly

Method _createpoly

tools/python-3.11.9-amd64/Lib/turtle.py:494–497  ·  view source on GitHub ↗

Create an invisible polygon item on canvas self.cv)

(self)

Source from the content-addressed store, hash-verified

492 self.xscale = self.yscale = 1.0
493
494 def _createpoly(self):
495 """Create an invisible polygon item on canvas self.cv)
496 """
497 return self.cv.create_polygon((0, 0, 0, 0, 0, 0), fill="", outline="")
498
499 def _drawpoly(self, polyitem, coordlist, fill=None,
500 outline=None, width=None, top=False):

Callers 4

_setshapeMethod · 0.80
cloneMethod · 0.80
stampMethod · 0.80
begin_fillMethod · 0.80

Calls 1

create_polygonMethod · 0.80

Tested by

no test coverage detected