value


Description:

public static int value (Image image, int x, int y)

Find the value of the selection at the specified coordinates.

This procedure returns the value of the selection at the specified coordinates. If the coordinates lie out of bounds, 0 is returned.

Parameters:

image

The image.

x

x coordinate of value.

y

y coordinate of value.

Returns:

Value of the selection.