Gimp.Vector2.prototype.length_val

function length_val(): Number(gdouble) {
    // Gjs wrapper for gimp_vector2_length_val()
}
  

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

Returns

the length of vector (a positive gdouble).