参考 setFrame()

setFrame()

Sets the current frame in an animated GIF.

示例

语法

setFrame(index)

参数

index
Number:

index of the frame to display.

Notice any errors or typos? Please let us know. Please feel free to edit src/image/p5.Image.js and open a pull request!

相关参考