I am doing some logic code for simulating electrical circuit.
For that i draw the circuit using line. I want to rotate the line position to 30 or 45 degree. so that it will display as the switch is tripped.
For example if i press MCB_OFF button, the line "RedClr3" should rotate to 30 degree. And again if i press MCB_ON button, the line "RedClr3" should be normal 0 degree.
I dont know how to do this shape rotation.
Can any one help me for this. I am attaching my file here for your reference.