polygon

inline fun NodeContainer.polygon(): Polygon

Add a Polygon to this container.

Return

the control added.


inline fun polygon(configuration: Polygon.() -> Unit): Polygon

Create a Polygon with configuration block.

Return

the control created.

Parameters

configuration

the configuration block.


inline fun NodeContainer.polygon(configuration: Polygon.() -> Unit): Polygon

Add a Polygon with configuration block to this container.

Return

the control added.

Parameters

configuration

the configuration block.