frameCount property

int frameCount
getter/setter pair

Number of frames in the image.

Always 1 for static images. Greater than 1 for animated formats such as GIF.

Do not modify directly after native loading. Use structUpdateFrameCount so backend implementations can resynchronize memory-dependent state such as data.

Implementation

abstract int frameCount;