polygon

fun polygon(block: PolygonBuilder.() -> Unit)

Adds a <polygon> child element to the SVG element.

Parameters

block

A lambda to configure the <polygon> element.