slider move in curve

how can i move slider from point A to point B as shown in the pic as the knob is moved according tu the scope slider asa show in the pic is yellow

Could you create a curved mesh and render the UI Element to a texture and apply that texture to the mesh?

CAN UOU SHARE MORE DETAILS]?