Gimp.Vector2.prototype.neg_val

function neg_val(): Gimp.Vector2 {
    // Gjs wrapper for gimp_vector2_neg_val()
}
  

Identical to [method@Vector2.neg], but the vector is passed by value rather than by reference.

Returns

the negated Gimp.Vector2.