GimpUi.OffsetArea.prototype.set_size

function set_size(width: Number(gint), height: Number(gint)): void {
    // Gjs wrapper for gimp_offset_area_set_size()
}
  

Sets the size of the image/drawable displayed by the GimpUi.OffsetArea. If the offsets change as a result of this change, the "offsets-changed" signal is emitted.

width

the new width

height

the new height