Plain English

Draws a filled rectangular bar (solid black) at the specified position with the given width and height. Use this for solid divider lines, section fills, or thick separators.

When to use

For solid lines, dividers, fills, and thick bars. A thin BAR (height=2) makes a clean divider line.

Syntax

BAR x,y,width,height

Parameters

ParameterDescription
x
Left edge X coordinate in dots
y
Top edge Y coordinate in dots
width
Width of the bar in dots
height
Height of the bar in dots

Example

BAR 50,100,300,2

Draw a thin horizontal divider line at position (50,100)

Try it in the playground View all TSPL commands