文本的度量 measureText(string).width 获取文字宽度