Gimp.Vector2.prototype.normalize

function normalize(): void {
    // Gjs wrapper for gimp_vector2_normalize()
}
  

Normalizes the vector so the length of the vector is 1.0. The nul vector will not be changed.