scene

inline fun scene(width: Double = -1.0, height: Double = -1.0, fill: Paint = Color.WHITE, configuration: KtfxScene.() -> Unit): Scene

Create a Scene with configuration block.


fun Stage.scene(width: Double = -1.0, height: Double = -1.0, fill: Paint = Color.WHITE): Scene

Add a Scene to this window.


inline fun Stage.scene(width: Double = -1.0, height: Double = -1.0, fill: Paint = Color.WHITE, configuration: KtfxScene.() -> Unit): Scene

Add a Scene with configuration block to this window.