Package ilcd
Class GraphicInfo

Public Method getNumberOfFrames

int getNumberOfFrames()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns Description
numberOfFrames the numbers of frames

The getNumberOfFrames() method is used to obtain the number of frames which is provided by an animated graphic.

Example

int numberOfFrames = Control.getGraphicInfo(1).getNumberOfFrames();

Draw.writeText(" number of frames: "+ numberOfFrames);

See also:

Control.getGraphicInfo(int)