form.addTrim¶
since 1.6.3
Add a trim widget.
Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
line |
FormLine | yes | the line where the widget should be added |
rect |
Rect | yes | the coordinates |
index |
number | yes | the trim index |
type |
string | yes | trim type, can take the values "horizontal" (default) or "vertical" |
Returns¶
Nothing.