ps_create_text_layer
Add editable text to a Photoshop document by specifying content, position, and font size. The vector layer stays adjustable for later styling with ps_set_text.
Instructions
Create a new text layer with the given content, position, and font size. The text is editable (vector). Use ps_set_text (property=font / color) afterwards to style.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position in pixels (default 100). Bounded at ±300,000 px. | |
| y | No | Y position in pixels (default 100). Bounded at ±300,000 px. | |
| text | Yes | Text content | |
| font_size | No | Font size in points (default: 24) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| context | No | ||
| created | No | ||
| fontSize | No | ||
| position | No | ||
| layerName | No |