### Parameters
| Param | Type | Default | Description |
| --- | --- | --- | --- |
| name | string | | Name of tag |
| toname | string | | Name of image to label |
| [opacity] | number | 0.6 | Opacity of polygon |
| [fillColor] | string | "transparent" | Polygon fill color in hexadecimal or HTML color name |
| [strokeColor] | string | "#f48a42" | Stroke color in hexadecimal |
| [strokeWidth] | number | 3 | Width of stroke |
| [pointSize] | small \| medium \| large | small | Size of polygon handle points |
| [pointStyle] | rectangle \| circle | circle | Style of points |
| [smart] | boolean | | Show smart tool for interactive pre-annotations |
| [smartOnly] | boolean | | Only show smart tool for interactive pre-annotations |
| [snap] | pixel \| none | none | Snap polygon to image pixels |