isBackground

Returns a boolean value (TRUE or FALSE) indicating whether the color component of the given display pixel, given by an x and a y value, is the same as the current background color.

Usage

    boolean = isBackground(x, y);