Gimp.Vector2.prototype.set

function set(x: Number(gdouble), y: Number(gdouble)): void {
    // Gjs wrapper for gimp_vector2_set()
}
  

Sets the X and Y coordinates of vector to x and y.

x

the X coordinate.

y

the Y coordinate.