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

Method canvas

Lib/pagebot/contexts/htmlcontext/htmlbuilder.py:1457–1461  ·  view source on GitHub ↗

The canvas tag defines a canvas in a document.

(self, **args)

Source from the content-addressed store, hash-verified

1455 self._closeTag('svg')
1456
1457 def canvas(self, **args):
1458 """The canvas tag defines a canvas in a document.
1459 """
1460 self.write_tag('canvas', True, args)
1461 self._debugclass('canvas', self.getClassName(args, self.CANVAS_ATTRIBUTES))
1462
1463 def _canvas(self):
1464 self._closeTag('canvas')

Callers 1

buildMethod · 0.80

Calls 2

getClassNameMethod · 0.95
write_tagMethod · 0.80

Tested by

no test coverage detected