开发者

Using gwt fx to fade one image into another

开发者 https://www.devze.com 2023-03-16 21:25 出处:网络
I am using gwt fx to fade an image using the code below.I was wondering if there was a way to make it fade one image into another.

I am using gwt fx to fade an image using the code below.I was wondering if there was a way to make it fade one image into another.

Fade 开发者_StackOverflow中文版theFade = new Fade();
theFade.addEffectElement(image_1.getElement());
theFade.play()

Thanks


You can probably try adding addEffectCompletedHandler to theFade and kick off the next effect.

0

精彩评论

暂无评论...
验证码 换一张
取 消