Adding Node's animated to a VBox

前端 未结 2 1949
野性不改
野性不改 2021-01-29 04:46

I am looking for a solution to add node\'s with fade-in or flipping or any animation. Thanks for any help.

I found the same question but without any further help here: A

2条回答
  •  抹茶落季
    2021-01-29 05:27

    You can use the built-in Transitions or a 3rd party library such as FXExperience Canned Animations.

    For an example of integrating an animation with a standard layout pane see this LayoutAnimator code used in the example solution to: Animation upon layout changes. The LayoutAnimator is very generic and will work with other Panes than the FlowPane sample it is provided with (it just looks a bit cooler with the FlowPane).

提交回复
热议问题