Plain English

Erases (clears to white) the specified rectangular area in the image buffer. Anything previously drawn in that area is removed.

When to use

When you need to clear a specific region of the label without clearing the entire buffer.

Syntax

ERASE x,y,width,height

Parameters

ParameterDescription
xLeft edge X coordinate in dots
yTop edge Y coordinate in dots
widthWidth of the area to erase in dots
heightHeight of the area to erase in dots

Example

ERASE 100,100,200,50

Clear a 200x50 dot area at position (100,100)

Try it in the playground View all TSPL commands