To calculate it, use ctx.measureText() and add together the actualBoundingBoxAscent and the actualBoundingBoxDescent . That'll give you the actual size. You can ...
確定! 回上一頁