var tf = new Text(letter, font, color);
var tfContainer = new Container();
tfContainer.addChild(tf);
How can I find out what the dimensions of "tfContainer" are?
I know that I can use tf.getMeasuredWidth () and tf.getMeasuredLineHeight (), but I would prefer to use a more general approach. In addition, it does not return accurate measurements.
strah source
share