Gimp.Drawable.prototype.get_offsets
function get_offsets(): [ok: Boolean, offset_x: Number(gint), offset_y: Number(gint)] {
// Gjs wrapper for gimp_drawable_get_offsets()
}
Returns the offsets for the drawable.
This procedure returns the specified drawable's offsets. This only makes sense if the drawable is a layer since channels are anchored. The offsets of a channel will be returned as 0.
- ok
TRUE on success.
- offset_x
x offset of drawable.
- offset_y
y offset of drawable.