Routines (alphabetical) > Object Classes > Graphics Object Classes > IDLgrWindow::Erase

# IDLgrWindow::Erase

Syntax | Arguments | Keywords | Version History

The IDLgrWindow::Erase procedure method erases the entire contents of the window and initializes the depth buffer.

## Syntax

Obj->[IDLgrWindow::]Erase [, COLOR=index or RGB vector]

## Arguments

None

## Keywords

### COLOR

Set this keyword to the color to be used for the erase. The color may be specified as a color lookup table index or as a three-element vector [red, green, blue]. The default erase color is white.

## Version History

5.0 | Introduced