From: Jaime Pavlich-M. <jai...@gm...> - 2012-06-13 19:26:08
|
Thanks. I will try that. Jaime Pavlich-Mariscal On Tue, Jun 12, 2012 at 11:53 PM, Emmanuel Pietriga < emm...@in...> wrote: > Hi, > > You can do that using an EndAction, e.g., if you want to perform a > rotation on glyph g2 after a translation of glyph g1 > > // code not checked, there might be syntax errors... > Animation a1 = AnimationFactory.createGlyphTranslation(duration, g1, new > Point2D.Double(10,10), false, interpolator, new EndAction(){ > public void execute(Object subject, Animation.Dimension dimension){ > Animation a2 = > AnimationFactory.createGlyphOrientationAnim(duration, g2, Math.PI, false, > interpolator, null); > animManager.startAnimation(a2, false); > } > }); > animManager.startAnimation(a1, false); > > An EndAction gets executed as soon as the animation that it was > instantiated for ends. It can be used to do anything, not necessarily to > launch another animation. > > -- > Emmanuel Pietriga > INRIA Saclay - In Situ > http://pages.saclay.inria.fr/emmanuel.pietriga > > On 12 juin 2012, at 22:33, Jaime Pavlich-Mariscal wrote: > > > Hello, > > > > First of all, thanks for providing such a nice library! > > > > How do I perform animations sequentially? I have read the documentation, > but the only way I found to do sequential animations is when they refer to > the same subject and dimension. Is there a way to force animations to > execute sequentially, regardless of the subject and dimension? > > > > Regards, > > > > Jaime Pavlich-Mariscal > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > > zvtm-devel mailing list > > zvt...@li... > > https://lists.sourceforge.net/lists/listinfo/zvtm-devel > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > zvtm-devel mailing list > zvt...@li... > https://lists.sourceforge.net/lists/listinfo/zvtm-devel > |