Fotis
Fotis

Reputation: 1362

GIMP get layer position relative to the image

i'm coding in python-fu and i need to get the layer position relative to the image (eg. the layer starts at x=35, y=50)

Is this possible? I haven't found anything in the gimp pdb docs

Upvotes: 2

Views: 2671

Answers (1)

Fotis
Fotis

Reputation: 1362

Nevermind, got it.

It's layer.offsets (property) for future reference.

:)

Upvotes: 6

Related Questions