Workaround to make a NinePatchRect tile in GLES2?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By eod

It looks like with GLES2, there is no way to have a NinePatchRect tile:

Since we’re not heading down the GLES3 path anymore, and presuming it doesn’t get picked to be fixed for the next 3.2.2 update, does anyone have any suggestions for a workaround?

Basically, how could you implement a similar feature manually?

Specifically thinking about borders for Panels and Buttons.