# Gimp.Image.prototype.grid_get_offset

    function grid_get_offset(): [ok: Boolean, xoffset: Number(gdouble), yoffset: Number(gdouble)] {
        // Gjs wrapper for gimp_image_grid_get_offset()
    }

Gets the offset of an image's grid.

This procedure retrieves the horizontal and vertical offset of an image's grid. It takes the image as parameter.

Since 2.4

ok

  TRUE on success.

xoffset

  The image's grid horizontal offset.

yoffset

  The image's grid vertical offset.