Window::transitionToStage()
Transitions to a new stage with a specified duration.
Syntax
Java
.transitionToStage(stage, duration)
Parameters
| Name | Data Type | Description |
|---|---|---|
| stage | Stage | the new stage to transition to |
| duration | int | the duration of the transition in milliseconds |
Return
void
