Gimp » Gimp.Vector2 »

Gimp.Vector2.prototype.sub_val

function sub_val(vector2: Gimp.Vector2): Gimp.Vector2 {
    // Gjs wrapper for gimp_vector2_sub_val()
}
  

This function is identical to Gimp.vector2_sub but the vectors are passed by value rather than by reference.

vector2

the second Gimp.Vector2.

Returns

the resulting Gimp.Vector2.

More Information

  • Gimp.Vector2