detect


Description:

public unowned Node detect (int x, int y)

Performs hit detection by returning the node providing data at a given coordinate pair.

Currently operates only on bounding boxes and not pixel data.

Parameters:

this

a Node

x

x coordinate

y

y coordinate

Returns:

the GeglNode providing the data ending up at x,y in the output of this.