How can I get the text and/or location of a TextMarker

I think I must be missing something obvious here. I can’t find a way to get the text in a TextMarker object or its location/position (the from and to properties). I need to know the text in a TextMarker in order to know if I should .clear() it. Where in the object can I find this information?