Reference · Drawing

pxart rect

A 1px border, or filled

rect FILE[:frame] KEY x,y,w,h [--fill]
usage: pxart rect [-h] [--fill] [-o O] [--dry-run] file key rect

  rect FILE[:frame] KEY x,y,w,h [--fill]          a 1px border, or filled

positional arguments:
  file
  key         a palette key, or '.' to erase
  rect

options:
  -h, --help  show this help message and exit
  --fill
  -o O
  --dry-run   print what the edit says and a diff of the file it would change; write nothing

See also, in pxart help all: DRAWING (FILE[:SEL], KEY ('.' erases), clipping, 'painted N
  px'); EDITING (-o OUT gets the whole file, only changed lines are rewritten, 'no change');
  FORMAT: selecting frames (FILE:SEL, an unnamed grid's name, zsh's "${F}:sel").

pxart help all has the whole reference, pxart help TOPIC one part of it.

This is the output of pxart help rect. The other drawing commands and their shared notes are in pxart help DRAWING.

This page is built from site/src/data/reference.json in the repository.Edit on GitHub