GimpUi.PreviewArea.prototype.set_offsets

function set_offsets(x: Number(gint), y: Number(gint)): void {
    // Gjs wrapper for gimp_preview_area_set_offsets()
}
  

Sets the offsets of the previewed area. This information is used when drawing the checkerboard and to determine the dither offsets.

Since 2.2

x

horizontal offset

y

vertical offset