Hi, it’s my first time posting here so please let me know if there’s a better category where I can post this.
I’m working on a Figma plugin to automate a manual workflow and one of the steps is to convert a vector’s stroke to outlines. Manually I do this by following these steps:
- Select vector layer
- Ungroup
- Select parent frame
- Flatten
- Outline strokes
Currently there’s no “outline strokes” plugin API available at all, and as far as I can tell the “ungroup” API applies to groups but not vector nodes, despite being able to ungroup it in the UI.