Repository navigation
Draw Point
Mikkel102454 edited this page Oct 6, 2026
·
2 revisions
Draw a point or block.
All listed arguments are required.
| Name | Type | Meaning |
|---|---|---|
x, y |
integer | Position inside the display |
color |
string | Opaque palette color |
width |
string | 1x1, 2x2, 3x3, or 4x4 |
style |
string | around or rightup |
{
"cmd": "draw_point",
"args": {
"x": 10,
"y": 80,
"color": "black",
"width": "1x1",
"style": "around"
}
}The width names select renderer modes. With width number N, around draws a centered square of side 2N - 1 (1, 3, 5, or 7 pixels). rightup draws an N × N block starting at the supplied coordinate and extending right and down in the current renderer, despite its name. The anchor must be inside the display.
See Command Reference, Color Palette, and Renderer Notes.