Edit texture scale, coordinates during game

I used code from here to replace texture. Now I wanna manipulate that texture, like make it width, change offset. I saw some “size” classes but I don’t know how to exactly use them