Rotate line or item

hello, is there a way to rotate a line or an object with anchor point that i can set(not by setting degrees but by hand)

Take a look at two-point rotate and scale:
Two-Point Rotate - LightBurn Software Documentation

thank you so much!