styledCanvas
inline fun styledCanvas(width: Double = 0.0, height: Double = 0.0, vararg styleClass: String, id: String? = null): Canvas
Create a styled Canvas.
Return
the styled control created.
Parameters
styleClass
the CSS style class.
id
the CSS id.
inline fun NodeContainer.styledCanvas(width: Double = 0.0, height: Double = 0.0, vararg styleClass: String, id: String? = null): Canvas
Add a styled Canvas to this container.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
inline fun styledCanvas(width: Double = 0.0, height: Double = 0.0, vararg styleClass: String, id: String? = null, configuration: Canvas.() -> Unit): Canvas
Create a styled Canvas with configuration block.
Return
the styled control created.
Parameters
styleClass
the CSS style class.
id
the CSS id.
configuration
the configuration block.
inline fun NodeContainer.styledCanvas(width: Double = 0.0, height: Double = 0.0, vararg styleClass: String, id: String? = null, configuration: Canvas.() -> Unit): Canvas
Add a styled Canvas with configuration block to this container.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
configuration
the configuration block.