参考 getCurrentFrame()

getCurrentFrame()

Gets the index of the current frame in an animated GIF.

示例

Returns

Number: index of the GIF's current frame.
Notice any errors or typos? Please let us know. Please feel free to edit src/image/p5.Image.js and open a pull request!

相关参考