参考 getCurrentFrame()

getCurrentFrame()

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

示例

返回值

Number: index of the GIF's current frame.
This page is generated from the comments in src/image/p5.Image.js . Please feel free to edit it and submit a pull request!

相关参考