Get x and y values of textfield

So i have my textfield divided into several arrays. i tried using the method .getCharBoundaries, but alas, i failed. i am not using it correctly i am sure, or maybe the array is causing some problems cause maybe its not a TextField anymore, but an array. that could be it. i dont know. best to ask and learn before wasting more time. thanks.