| TYPE | NAME | DESCRIPTION |
|---|---|---|
| IMAGE | image | The image |
| INT32 | num_segs | Number of points (count 1 coordinate as two points) |
| FLOATARRAY | segs | Array of points: { p1.x, p1.y, p2.x, p2.y, ..., pn.x, pn.y} |
| INT32 | operation | The selection operation: { ADD (0), SUB (1), REPLACE (2), INTERSECT (3) } |
| INT32 | antialias | Antialiasing (TRUE or FALSE) |
| INT32 | feather | Feather option for selections |
| FLOAT | feather_radius | Radius for feather operation |