Buttons can only be rectangular?

Could a material be used instead of an image texture?
If one would like to have a button scalable/stretched?

button