styledSphere

fun styledSphere(radius: Double = 1.0, division: Int = 64, vararg styleClass: String, id: String? = null): Sphere

Create a styled Sphere.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun NodeManager.styledSphere(radius: Double = 1.0, division: Int = 64, vararg styleClass: String, id: String? = null): Sphere

Add a styled Sphere to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


inline fun styledSphere(radius: Double = 1.0, division: Int = 64, vararg styleClass: String, id: String? = null, configuration: Sphere.() -> Unit): Sphere

Create a styled Sphere with configuration block.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.


inline fun NodeManager.styledSphere(radius: Double = 1.0, division: Int = 64, vararg styleClass: String, id: String? = null, configuration: Sphere.() -> Unit): Sphere

Add a styled Sphere with configuration block to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.