Gimp.Vector2.prototype.rotate

function rotate(alpha: Number(gdouble)): void {
    // Gjs wrapper for gimp_vector2_rotate()
}
  

Rotates the vector counterclockwise by alpha radians.

alpha

an angle (in radians).