| name |
string |
|
Name of tag |
| toname |
string |
|
Name of image to label |
| [opacity] |
number |
0.6 |
Opacity of vector |
| [fillColor] |
string |
"transparent" |
Vector 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 vector 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 vector to image pixels |
| [closable] |
boolean |
false |
Allow closed shapes |
| [curves] |
boolean |
false |
Allow Bezier curves |
| [skeleton] |
boolean |
false |
Enables skeleton mode to allow branch paths |
| [minPoints] |
number | none |
none |
Minimum allowed number of points |
| [maxPoints] |
number | none |
none |
Maximum allowed number of points |
| [pointSizeEnabled] |
number |
5 |
Size of a point in pixels when shape is selected |
| [pointSizeDisabled] |
number |
3 |
Size of a point in pixels when shape is not selected |