Gimp.Vector2.prototype.mul

function mul(factor: Number(gdouble)): void {
    // Gjs wrapper for gimp_vector2_mul()
}
  

Multiplies each component of the vector by factor. Note that this is equivalent to multiplying the vectors length by factor.

factor

a scalar.