.Fill Method

Top  Previous  Next

Function:

Paints the area with the "pen" color (lcd.forecolor).

Syntax:

lcd.fill(x as word,y as word, width as word, height as word)

Returns:

---

See Also:

Lines, Rectangles, and Fills, Working With Pixels and Colors, lcd.line, lcd.verline, lcd.horline, lcd.rectangle, lcd.filledrectangle

 


Part

Description

x

X coordinate of the top-left point of the area to be painted. Value range is 0 to lcd.width-1.

y

Y coordinate of the top-left point  of the area to be painted. Value range is 0 to lcd.height-1.

width

Width of the paint area in pixels.

height

Height of the paint area in pixels.

Details

The display panel must be enabled (lcd.enabled= 1- YES) for this method to work.