create_rect
Add a rectangle to a .tldr file by specifying position, size, optional text and color. Returns its ID for further editing.
Instructions
Create a rectangle shape on the main page. Returns its id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to a .tldr file | |
| x | Yes | ||
| y | Yes | ||
| w | Yes | ||
| h | Yes | ||
| text | No | ||
| color | No |