G4P (GUI for Processing)  4.3.8
A set of GUI controls for your Processing sketch.
 All Classes Functions Variables Pages
g4p_controls.GAnimIcon.AnimClip Class Reference

Public Member Functions

 AnimClip (String id, int start, int end, int interval)
 
 AnimClip (String id, int start, int end, int interval, int nLoops)
 
String toString ()
 

Detailed Description

A class to store the details of a simple animation clip.

Author
Peter Lager

Constructor & Destructor Documentation

g4p_controls.GAnimIcon.AnimClip.AnimClip ( String  id,
int  start,
int  end,
int  interval 
)

Create an animation clip

Parameters
idunique id for a stored clip for use.
startstart frame number
endend frame number
intervaltime between frames in milliseconds
nbrLoopsthe number of times the clip will be played before stopping
g4p_controls.GAnimIcon.AnimClip.AnimClip ( String  id,
int  start,
int  end,
int  interval,
int  nLoops 
)

Create an animation clip

Parameters
idunique id for a stored clip for use.
startstart frame number
endend frame number
intervaltime between frames in milliseconds
nLoopsthe number of times the clip will be played before stopping

Member Function Documentation

String g4p_controls.GAnimIcon.AnimClip.toString ( )
Returns
textual description of animclip