Hi Peter,

you can calculate the Width with based on sin/cos and the trigonometry functions of the great Pythagoras. :-)

Imagine your Rectangle is 100 Width, so as you rotate in center your radius is 50.

Now image you rotate about 45°.

you can use the formula **sin alpha = opposite kathete** (i don't know the exact english word for it)** / hypotenuse**

that means sin of 45 = oppositeKathete / 50

with that you can calculate your oppositeKathete and thats your width. Two times and you have it (it was radius-based)