编辑 | blame | 历史 | 原始文档

Parameters

Param Type Default Description
name string Name of tag
toName string Name of image to label
[choice] single | multiple single Configure whether you can select one or multiple labels
[maxUsages] number Maximum number of times a label can be used per task
[showInline] boolean true Show labels in the same visual line
[opacity] number 0.2 Opacity of vector
[fillColor] string Vector fill color in hexadecimal
[strokeColor] string Stroke color in hexadecimal
[strokeWidth] number 1 Width of stroke
[pointSize] small | medium | large medium Size of vector handle points
[pointStyle] rectangle | circle rectangle Style of points
[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 5 Size of a point in pixels when shape is not selected