MCPcopy Index your code
hub / github.com/processing/p5.js / pause

Method pause

src/image/p5.Image.js:1721–1725  ·  view source on GitHub ↗

* Pauses an animated GIF. * * The GIF can be resumed by calling * img.play() . * * @example * let gif; * * async function setup() { * // Load the image. * gif = await loadImage('assets/nancy-liang-wind-loop-forever.gif'); * * cre

()

Source from the content-addressed store, hash-verified

1719 * }
1720 */
1721 pause() {
1722 if (this.gifProperties) {
1723 this.gifProperties.playing = false;
1724 }
1725 }
1726
1727 /**
1728 * Changes the delay between frames in an animated GIF.

Callers 15

p5.sound.min.jsFile · 0.45
p5.sound.jsFile · 0.45
toggleVidFunction · 0.45
toggleAudioFunction · 0.45
toggleVidFunction · 0.45
sketch0Function · 0.45
mousePressedFunction · 0.45
preloadFunction · 0.45
keyPressedFunction · 0.45
keyPressedFunction · 0.45
keyPressedFunction · 0.45
keyPressedFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected