styledPolygon

fun styledPolygon(vararg styleClass: String, id: String? = null): Polygon

Create a styled Polygon.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun NodeManager.styledPolygon(vararg styleClass: String, id: String? = null): Polygon

Add a styled Polygon to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


inline fun styledPolygon(vararg styleClass: String, id: String? = null, configuration: Polygon.() -> Unit): Polygon

Create a styled Polygon 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.styledPolygon(vararg styleClass: String, id: String? = null, configuration: Polygon.() -> Unit): Polygon

Add a styled Polygon 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.