Closed Mephiztopheles closed 8 months ago
a transform does break out from the normal layout. This can be compared to simply rotate the graphics2d in a swing context. To ensure the image does not exceed its parents dimensions we have to scale the image down
Thank you very much!
A better solution would be if the image could keep it's size when orientated, but I did not figure out how to solve that.
Below are the images I tested with.
testimage_rotated.jpg testimage_normal.jpg
a transform does break out from the normal layout. This can be compared to simply rotate the graphics2d in a swing context. To ensure the image does not exceed its parents dimensions we have to scale the image down