pixoo_display_text
pixoo_display_textRender styled text with themes, gradients, shadows, and outlines onto a Pixoo display, auto-fitting it and pushing to the device. Returns the rendered frame as an image for immediate verification.
Instructions
Render styled text (theme, gradient, shadow, outline, auto-fit) onto the Pixoo display and push it. Returns the rendered frame as an image content block for immediate inspection. The primary tool for text-only display — for layers, icons, widgets, or animations use pixoo_compose_scene. Run pixoo_design_brief with topic "text" first for palette and legibility guidance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | No | Font variant: standard (5×7) or compact (3×5). Auto-fit will choose if omitted. | |
| push | No | Push the rendered frame to the device (default: true). | |
| text | Yes | Text to display. String or array of lines. | |
| align | No | Multi-line text alignment (default: center). | |
| style | No | Text style: palette, shadow, outline, scale. | |
| theme | No | Named scene theme — sets background gradient and default text palette. | |
| effect | No | Animation effect. auto = scroll only when text overflows. Produces a multi-frame result. | |
| position | No | Text position on the display. | |
| background | No | Background color or gradient. Overrides theme background when set. | |
| brightness | No | Set device brightness before push (0–100). Failure is a warning, not an error. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| layout | No | Layout report: every fit decision the renderer made. | |
| notice | No | Warning or informational message about the render or push. | |
| pushed | No | True when the device acknowledged the push. | |
| deviceState | No | Device state after the push. Absent when push: false. | |
| outputFiles | No | Absolute paths to saved PNG preview files. Present only when PIXOO_OUTPUT_DIR is configured. |