Gimp.Vector2.prototype.mul_val

function mul_val(factor: Number(gdouble)): Gimp.Vector2 {
    // Gjs wrapper for gimp_vector2_mul_val()
}
  

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

factor

a scalar.

Returns

the resulting Gimp.Vector2.