GimpUi.Preview.prototype.set_bounds

function set_bounds(xmin: Number(gint), ymin: Number(gint), xmax: Number(gint), ymax: Number(gint)): void {
    // Gjs wrapper for gimp_preview_set_bounds()
}
  

Sets the lower and upper limits for the previewed area. The difference between the upper and lower value is used to set the maximum size of the GimpUi.PreviewArea used in the preview.

Since 2.2

xmin

the minimum X value

ymin

the minimum Y value

xmax

the maximum X value

ymax

the maximum Y value