We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
AS3的TextField提供了上述两个属性。可是在Worker里面无法准确计算渲染的参数,沙箱外通讯又困难(二者都是同步性访问的属性,鉴于使用实际情况考虑,可能异步回调结果会没什么用)。
所以目测只能估算值。
textWidth = length * pixelheight
textHeight = pixelheight
欢迎提供建议