rotate patch (rectangle)

Hello,

I have tried in vain to rotate a rectangle patch. I tried to use AffineTransform2D.rotate_deg(20.) and apply it to the Rectangle with set_transform. If I add the patch it doesnt show.

What is the right course of action here.

Cheers
     Wolfgang