DADiSP Worksheet Functions > Function Categories > Annotation > DFLOOD

 

DFLOOD

Purpose:

Changes the color of the colored area containing the specified point.

Syntax:

DFLOOD(x, y, color)

x

-

A real. The X coordinate of point in colored area.

y

-

A real. The Y coordinate of point in colored area.

color

-

An integer, any pre-defined macro name or supported integer color value.

Remarks:

DFLOOD is usually used for changing the internal color of a polygon. The flood algorithm looks at the old color of the indicated point and continues to change the color of surrounding points until it meets a point which has a different color from the initial old color.

 

This function is available only on PCs.

See Also:

DLNABS

DPTABS