FBPL Command Reference

Table Of Contents
59
6.10 ERASE
Description
Clear a specified region in the image buffer.
Syntax
ERASE x,y,x_width,y_height
Parameter
Description
x
The x-coordinate of the starting point (in dots)
y
The y-coordinate of the starting point (in dots)
x_width
The region width in x-axis direction (in dots)
y_height
The region height in y-axis direction (in dots)
Example
Sample code
SIZE 4,2.5
GAP 0,0
DIRECTION 1
CLS
BAR 100,100,300,300
ERASE 150,150,200,200
PRINT 1,1
Result
See Also
CLS