Rotate Image for Slider Rotary Slider

Hi, I am trying to implement the rotation of an image that I import from a png file as part of a LookandFeel class for rotary sliders. I’ve been looking into the AffineTransform class but can’t find anything about how I might apply it to a rendered image.

How can I rotate an imported image programmatically?

Check out Graphics::drawImageTransformed

1 Like