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
xLeft edge X coordinate in dots
yTop edge Y coordinate in dots
widthWidth of the bar in dots
heightHeight 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