Gimp.Image.prototype.grid_set_offset

function grid_set_offset(xoffset: Number(gdouble), yoffset: Number(gdouble)): Boolean {
    // Gjs wrapper for gimp_image_grid_set_offset()
}
  

Sets the offset of an image's grid.

This procedure sets the horizontal and vertical offset of an image's grid.

Since 2.4

xoffset

The image's grid horizontal offset.

yoffset

The image's grid vertical offset.

Returns

TRUE on success.