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

Method frameDuration

Lib/pagebot/contexts/svgcontext/svgcontext.py:473–476  ·  view source on GitHub ↗

Set the frame duration for animated gifs to a number of seconds per frame.

(self, secondsPerFrame)

Source from the content-addressed store, hash-verified

471 # https://svgwrite.readthedocs.io/en/latest/classes/animate.html
472
473 def frameDuration(self, secondsPerFrame):
474 """Set the frame duration for animated gifs to a number of seconds per
475 frame."""
476 self._frameDuration = secondsPerFrame
477
478 # Paths.
479

Callers 2

buildMethod · 0.45
buildMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected