Hi

Does anybody know how can I draw a text above any arbitrary line?
I have only line coordinates and its angle and I want to draw the text centered in the middle of the line and above it.

Thanks.