HTML5 Canvas Text Baseline Tutorial
To vertically align text with HTML5 Canvas, we can use the textBaseline property of the canvas context. textBaseline can be set with one of the following values: tophangingmiddlealphabeticideographic, and bottom.  Unless otherwise specified, the textBaseline property is defaulted to alphabetic.
邮箱:
密码:

微信扫描二维码捐赠

当前实例由www.100sucai.com整理,
仅作学习参考。感谢大家对本站的支持
web前端交流群:Css Js 网站美工
Text Metrics