TextField with custom borders

I’m using a canvas behind a transparent TextField to draw borders with custom colors. This is not very handy when I have multiple TextFields. How could I make a custom TextField that would automatically draw the borders the way I want?

A container control?

Of course, thanks Alex! Although, I’m slightly concerned about performance. Using CC’s seems to slow down the UI and I’m already using multiple CC’s on my app. But I’ll give it a go.