CR for Job #20140 - Add Overlays.getTextWidth

Code Review for Job #20140 - Workitem available at https://www.worklist.net/20140
textWidth() should be a const method.