public int [ ] getDurations ( ) { int [ ] durations = new int [ frames . size ( ) ] ; for ( int i = 0 ; i < frames . size ( ) ; i ++ ) { durations [ i ] = getDuration ( i ) ; } return durations ; }
Get the durations of all the frames in this animation