Gimp.Image.pick_correlate_layer
@accepts(Gimp.Image, int, int)
@returns(Gimp.Layer)
def pick_correlate_layer(self, x, y):
# Python wrapper for gimp_image_pick_correlate_layer()
Find the layer visible at the specified coordinates.
This procedure finds the layer which is visible at the specified coordinates. Layers which do not qualify are those whose extents do not pass within the specified coordinates, or which are transparent at the specified coordinates. This procedure will return -1 if no layer is found.
- self
The image.
- x
The x coordinate for the pick.
- y
The y coordinate for the pick.
- Returns