This is a mockup of what I am trying to achieve. The knops superimposed on an image like this. But your class seems to only work on perfect round custom images.
I attached the image of the chickenknob that I am trying to use in my project.
With the attached image it works as expected.
I set the background from transparent to white, and changed the orientation to left, geometric angle ZERO.
With the attached image it works as expected.
I set the background from transparent to white, and changed the orientation to left, geometric angle ZERO.
I was hoping to be able to use my knob background (see example windows build I made)
I have two knobs: the gain one with the problem and the Treble one with the white mask, working, but its covering my knop division background.
Well, I see your problem, but this is not possible because everything is drawn onto one bitmap with one canvas.
To maintain the background, it would to modify the class by adding a second panel with a second canvas, to draw only the button.