Custom component and paint outside of bounds
I have created a custom component which can be scaled and rotated, and that is working.
But my problem is that the rotated bounds might be different from the component.
Example, I have rotated the component so the rotated bounds is -10 in X and -3 in Y and is +23 in width and +4 in height. If I then move the component so the original Y is below the visible field of the parent, the component is not displayed. I have tried to make a custom repaintmanager, but it did not work.
Does anyone know which class I must extend to allow my component to still be visible if the transformed bounds is still visible?