Fill

FILL
See also: CLS in Graphics


 * Fill** fills the graphic object with a named color or an RGB color, covering any existing drawings. Unlike the Cls method, previously drawn graphics are not removed from memory and can be redrawn. This is useful when using the sSegment related graphics commands such as **Flush** and **Redraw**.

Syntax:
 * 1) handle FILL("color" | [r, g, b]) - Like CLS but it doesn't actually forget previously drawn graphics

code format="vbnet" 'create a graphic object. graphic #g, 400, 400

'fill graphic object with red
 * 1) g fill("red")

'display it on the web page render #g

'fill graphic object with RGB color
 * 1) g fill(50,255,120)

'display it on the web page render #g

code