Expression painter:currentangleunit() returns the current angle unit for angles in functions such as painter:rotate. Possible values are strings "Degrees" and "Radians". The default angle unit are degrees.