public void setMorphTime ( float time ) { for ( int i = 0 ; i < figures . size ( ) ; i ++ ) { Figure figure = ( Figure ) figures . get ( i ) ; MorphShape shape = ( MorphShape ) figure . getShape ( ) ; shape . setMorphTime ( time ) ; } }
Set the time index for this morph . This is given in terms of diagrams so 0 . 5f would give you the position half way between the first and second diagrams .