Gimp.Layer.prototype.set_offsets

function set_offsets(offx: Number(gint), offy: Number(gint)): Boolean {
    // Gjs wrapper for gimp_layer_set_offsets()
}
  

Set the layer offsets.

This procedure sets the offsets for the specified layer. The offsets are relative to the image origin and can be any values. This operation is valid only on layers which have been added to an image.

offx

Offset in x direction.

offy

Offset in y direction.

Returns

TRUE on success.