add_diamond
Add a diamond shape to an Excalidraw scene by specifying its position, size, and optional label, fill, stroke, and styling properties.
Instructions
Add a diamond to the scene.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | Yes | ||
| w | Yes | ||
| x | Yes | ||
| y | Yes | ||
| label | No | ||
| opacity | No | ||
| frame_id | No | ||
| fillStyle | No | ||
| font_size | No | ||
| roughness | No | ||
| roundness | No | ||
| font_family | No | ||
| strokeColor | No | ||
| strokeStyle | No | ||
| strokeWidth | No | ||
| backgroundColor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text_id | No | ||
| arrow_id | No | ||
| frame_id | No | ||
| label_id | No | ||
| circle_id | No | ||
| diamond_id | No | ||
| rectangle_id | No |