I was wondering if it possible to give a shape to a Texture in LibGDX.
In particular, I have a Texture and I want to make a button out of it. To do so, I wanted to give it a rounded corners shape.
In a nutshell, I have this :
and I want this :
I've already read some similar questions with any clear answer. Does anyone have experience this problem and found a smart solution ?
Create rounded texture image using bellow method and then add text to it.