canvas

inline fun NodeContainer.canvas(width: Double = 0.0, height: Double = 0.0): Canvas

Add a Canvas to this container.

Return

the control added.


inline fun canvas(width: Double = 0.0, height: Double = 0.0, configuration: Canvas.() -> Unit): Canvas

Create a Canvas with configuration block.

Return

the control created.

Parameters

configuration

the configuration block.


inline fun NodeContainer.canvas(width: Double = 0.0, height: Double = 0.0, configuration: Canvas.() -> Unit): Canvas

Add a Canvas with configuration block to this container.

Return

the control added.

Parameters

configuration

the configuration block.