Gimp.Vector2.prototype.normal_val

function normal_val(): Gimp.Vector2 {
    // Gjs wrapper for gimp_vector2_normal_val()
}
  

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

Since 2.8

Returns

a Gimp.Vector2 perpendicular to vector, with a length of 1.0.