Alter gradient line as if it were a path