这个SO 答案可能是针对您的需求过度设计的. How can you find the height of text on an HTML canvas? 我更喜欢更简单的东西: var text = "Hello World"; var font ...
確定! 回上一頁