文字垂直居中 自己模拟
rect.getBBox()方法获取图形边界x,y,width,height。
x=100, middle (point)汉字
模拟的垂直对齐: top, middle, bottom;