set_text_decoration_range
Set style, color, thickness, and offset for text decoration on a specific text range in a Figma node.
Instructions
Set advanced text decoration properties (style, color, thickness, offset) for a text range
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End index of the range (exclusive) | |
| color | No | Decoration color | |
| start | Yes | Start index of the range (inclusive) | |
| style | No | Decoration style | |
| nodeId | Yes | The ID of the text node | |
| offset | No | Decoration offset | |
| skipInk | No | Whether decoration skips over descenders | |
| thickness | No | Decoration thickness |