I think you can reimplement drawShape and write your text.